Commit 5eaaf70a authored by Phil Hughes's avatar Phil Hughes

Merge branch 'update-agent-token-table-heading' into 'master'

Updated the Cluster Agent Token table heading

See merge request gitlab-org/gitlab!71197
parents ae1b3a0e d59a4d4a
......@@ -18,7 +18,7 @@ export default {
createToken: s__('ClusterAgents|You will need to create a token to connect to your agent'),
dateCreated: s__('ClusterAgents|Date created'),
description: s__('ClusterAgents|Description'),
lastUsed: s__('ClusterAgents|Last used'),
lastUsed: s__('ClusterAgents|Last contact'),
learnMore: s__('ClusterAgents|Learn how to create an agent access token'),
name: s__('ClusterAgents|Name'),
neverUsed: s__('ClusterAgents|Never'),
......
......@@ -63,16 +63,16 @@ describe('ClusterAgentTokenTable', () => {
});
it.each`
lastUsedText | lineNumber
lastContactText | lineNumber
${'2 days ago'} | ${0}
${'Never'} | ${1}
`(
'displays last used information "$lastUsedText" for line "$lineNumber"',
({ lastUsedText, lineNumber }) => {
'displays last contact information "$lastContactText" for line "$lineNumber"',
({ lastContactText, lineNumber }) => {
const tokens = wrapper.findAllByTestId('agent-token-used');
const token = tokens.at(lineNumber);
expect(token.text()).toBe(lastUsedText);
expect(token.text()).toBe(lastContactText);
},
);
......
......@@ -7273,9 +7273,6 @@ msgstr ""
msgid "ClusterAgents|Last contact"
msgstr ""
msgid "ClusterAgents|Last used"
msgstr ""
msgid "ClusterAgents|Learn how to create an agent access token"
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment