Skip to content

Commit

Permalink
Fix functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga committed Dec 12, 2024
1 parent d2438bd commit 1ae051c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions x-pack/test/functional_cloud/tests/cloud_links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
expect(cloudLink).to.not.be(null);
});

it('Shows the theme darkMode toggle', async () => {
await PageObjects.common.clickAndValidate('userMenuButton', 'darkModeToggle');
const darkModeSwitch = await find.byCssSelector('[data-test-subj="darkModeToggleSwitch"]');
expect(darkModeSwitch).to.not.be(null);
it('Shows the appearance buton', async () => {
await PageObjects.common.clickAndValidate('userMenuButton', 'appearanceSelector');
});
});
});
Expand Down

0 comments on commit 1ae051c

Please sign in to comment.