Skip to content

Commit

Permalink
chore: fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 committed Nov 2, 2023
1 parent ae9d506 commit 467586e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions e2e/cypress/common/nextInternalCommon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ import { getDevUi, getDevUiRoot } from './devUiTools';
import { Scope } from './types';

export const openUI = (translation = 'What To Pack') => {
cy.contains(translation)
.should('be.visible')
.trigger('keydown', { key: 'Alt' })
.trigger('mouseover')
.click();
cy.window().trigger('keyup', { key: 'Alt' });
cy.contains(translation).should('be.visible').click({ altKey: true });
getDevUiRoot().should('exist');
getDevUi().find('textarea').contains(translation).should('be.visible');
cy.wait(300);
Expand Down

0 comments on commit 467586e

Please sign in to comment.