Skip to content

Commit d14ea15

Browse files
committed
Attempt to fix functional tests.
1 parent fe26693 commit d14ea15

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
2727
});
2828

2929
it('finds page title', async () => {
30-
const title = await testSubjects.getVisibleText('pageViewHeaderLeftTitle');
30+
const title = await testSubjects.getVisibleText('header-page-title');
3131
expect(title).to.equal('Endpoints');
3232
});
3333

x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
4747
});
4848

4949
it('should display policy view', async () => {
50-
expect(await testSubjects.getVisibleText('pageViewHeaderLeftTitle')).to.equal(
50+
expect(await testSubjects.getVisibleText('header-page-title')).to.equal(
5151
policyInfo.packageConfig.name
5252
);
5353
});

x-pack/test/security_solution_endpoint/apps/endpoint/policy_list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
2929
await testSubjects.existOrFail('policyListPage');
3030
});
3131
it('displays page title', async () => {
32-
const policyTitle = await testSubjects.getVisibleText('pageViewHeaderLeftTitle');
32+
const policyTitle = await testSubjects.getVisibleText('header-page-title');
3333
expect(policyTitle).to.equal('Policies');
3434
});
3535
it('shows header create policy button', async () => {

x-pack/test/security_solution_endpoint/apps/endpoint/trusted_apps_list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
2020
});
2121

2222
it('finds page title', async () => {
23-
expect(await testSubjects.getVisibleText('pageViewHeaderLeftTitle')).to.equal(
23+
expect(await testSubjects.getVisibleText('header-page-title')).to.equal(
2424
'Trusted applications'
2525
);
2626
});

0 commit comments

Comments
 (0)