Skip to content

Commit

Permalink
chore: fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 committed Jul 30, 2024
1 parent 08962b7 commit 155fe32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/cypress/e2e/translations/batchJobs.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('Batch jobs', { scrollBehavior: false }, () => {
executeBatchOperation();
});

it('will Machine translate', () => {
it.only('will Machine translate', () => {

Check warning on line 109 in e2e/cypress/e2e/translations/batchJobs.cy.ts

View workflow job for this annotation

GitHub Actions / E2E Static Check 🪲

it.only not permitted
cy.gcy('translations-row-checkbox').first().click();
selectOperation('Machine translation');
assertLanguagesSelected(['German']);
Expand Down Expand Up @@ -171,6 +171,8 @@ function assertLanguagesSelected(languages: string[]) {
.findDcy('translations-language-select-form-control')
.click();

cy.gcy('translations-language-select-item').should('be.visible');

languages.forEach((language) => {
cy.gcy('translations-language-select-item')
.contains(language)
Expand Down

0 comments on commit 155fe32

Please sign in to comment.