Skip to content

Commit

Permalink
Fix failing collection, repository tests (#4393) (#4394)
Browse files Browse the repository at this point in the history
* failing collection,repository test - try timeouts

No-Issue

* try wait all

(cherry picked from commit 0bac287)

Co-authored-by: Martin Hradil <mhradil@redhat.com>
  • Loading branch information
patchback[bot] and himdel authored Oct 12, 2023
1 parent 2f1b3b8 commit 85f7629
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/cypress/e2e/collections/collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ describe('collection tests', () => {
cy.get('[data-cy="AlertList"]').contains(
`Started adding ${namespace}.${collection} v1.0.0 from "published" to repository "validated".`,
);
cy.galaxykit('task wait all');
cy.get('[data-cy="AlertList"]').contains('detail page').click();
cy.contains('Completed', { timeout: 10000 });
cy.contains('Completed');
});

it('deletes an collection from repository', () => {
Expand Down
3 changes: 2 additions & 1 deletion test/cypress/e2e/repo/repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ function versionCheck(version) {
cy.contains(
'Started adding repo_test_namespace.repo_test_collection v1.0.0 from "published" to repository "repo1Test".',
);
cy.galaxykit('task wait all');
cy.contains('a', 'detail page').click();
cy.contains('Completed', { timeout: 10000 });
cy.contains('Completed');
});

it('checks there are 2 versions and collection is here', () => {
Expand Down

0 comments on commit 85f7629

Please sign in to comment.