Skip to content

Commit

Permalink
chore: remove legacy cypress test (#2438)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov authored and splincode committed Aug 23, 2022
1 parent 804c365 commit e7517dc
Showing 1 changed file with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,6 @@ describe(`DropdownContext`, () => {
.matchImageSnapshot(`01-opened-context-menu`, {capture: `viewport`});
});

it(`focuses content inside on Arrow Down key`, () => {
cy.get(`#contextMenu`).find(`tr`).eq(1).rightclick();

cy.get(`body`).type(`{downarrow}{downarrow}`);

cy.window()
.wait(WAIT_BEFORE_SCREENSHOT)
.matchImageSnapshot(`02-arrow-down`, {capture: `viewport`});

cy.focused().click();

cy.tuiHideDocPage();
cy.tuiWaitKitDialog();

cy.window()
.wait(WAIT_BEFORE_SCREENSHOT)
.matchImageSnapshot(`02-arrow-down-clicked`, {capture: `viewport`});
});

it(`focuses content inside on Arrow Up key`, () => {
cy.get(`#contextMenu`).find(`tr`).eq(2).rightclick();

Expand Down

0 comments on commit e7517dc

Please sign in to comment.