Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
criamico committed Apr 6, 2022
1 parent 4b50a06 commit 1ec58aa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ describe('Fleet startup', () => {
cy.log('Create agent policy took: ' + (Date.now() - startTime) / 1000 + ' s');
agentPolicyId = xhr.response.body.item.id;

cy.getBySel('agentPolicyCreateStatusCallOut').contains('Agent policy created');

// verify create button changed to dropdown
cy.getBySel('agentPolicyDropdown');

Expand All @@ -80,7 +78,6 @@ describe('Fleet startup', () => {

it('should create Fleet Server policy', () => {
cy.getBySel('createFleetServerPolicyBtn').click();
cy.getBySel('agentPolicyCreateStatusCallOut').contains('Agent policy created');

// verify policy is created and has fleet server and system package
verifyPolicy('Fleet Server policy 1', ['Fleet Server', 'System']);
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/fleet/cypress/tasks/fleet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export function createAgentPolicy() {
cy.getBySel(ADD_AGENT_BUTTON_TOP).click();
cy.getBySel(STANDALONE_TAB).click();
cy.getBySel(CREATE_POLICY_BUTTON).click();
cy.getBySel('agentPolicyCreateStatusCallOut').contains('Agent policy created');
cy.getBySel(AGENT_FLYOUT_CLOSE_BUTTON).click();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ export const InstallationMessage: React.FunctionComponent = () => {
</EuiLink>
),
installationLink: (
<EuiLink target="_blank" external href="">
<EuiLink
target="_blank"
external
href="https://www.elastic.co/guide/en/fleet/current/elastic-agent-installation.html"
>
<FormattedMessage
id="xpack.fleet.enrollmentInstructions.installationMessage.link"
defaultMessage="installation docs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const useGetAgentIncomingData = (
text = i18n.translate('xpack.fleet.confirmIncomingData.installApmAgentButtonText', {
defaultMessage: 'Install APM Agent',
});
message = i18n.translate('xpack.fleet.confirmIncomingData.subtitle', {
message = i18n.translate('xpack.fleet.confirmIncomingData.APMsubtitle', {
defaultMessage:
'Next, install APM agents on your hosts to collect data from your applications and services.',
});
Expand Down

0 comments on commit 1ec58aa

Please sign in to comment.