Skip to content

Commit

Permalink
chore: fix proprietary e2e (#5724)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin authored Oct 23, 2023
1 parent c481347 commit b668d3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe(`Dropdown`, () => {
it(`Esc -> Hosted Dropdown`, () => {
cy.tuiVisit(`/components/hosted-dropdown#tui-dropdown-host`);

cy.get(`tui-hosted-dropdown-example-2 button [src=tuiIconChevronDown]`)
cy.get(`tui-hosted-dropdown-example-2 button[tuiHostedDropdownHost]`)
.tuiWaitBeforeAction()
.click();

Expand Down
4 changes: 2 additions & 2 deletions projects/demo-playwright/tests/kit/slider/slider.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ test.describe(`Slider`, () => {

example = page.locator(`#complex .t-example`);
slider = new TuiSliderPO(example.getByRole(`slider`));
plusButton = example.locator(`button[icon="tuiIconPlus"]`);
minusButton = example.locator(`button[icon="tuiIconMinus"]`);
plusButton = example.locator(`button.plus`);
minusButton = example.locator(`button.minus`);
});

test(`decrease value by 1 step`, async ({page}) => {
Expand Down

0 comments on commit b668d3a

Please sign in to comment.