Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunnaye committed Jan 22, 2025
1 parent 9b6b5cf commit 6061420
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions cypress/e2e/group3/mytools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ describe('Dockstore my tools', () => {
});

it('Should have discover existing tools button', () => {
cy.visit('/my-tools');
cy.fixture('myWorkflows.json').then((json) => {
cy.intercept('PATCH', '/api/users/1/workflows', {
body: json,
Expand All @@ -68,8 +67,8 @@ describe('Dockstore my tools', () => {
statusCode: 200,
}).as('getAppTools');
cy.get('[data-cy=addToExistingTools]').should('be.visible').click();
cy.visit('/my-tools');

cy.visit('/my-tools');
cy.wait('@getContainers');
cy.wait('@getAppTools');
cy.contains('addedthistoolviasync');
Expand Down
1 change: 0 additions & 1 deletion cypress/fixtures/myTools.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"descriptorType": ["CWL"],
"entryType": "TOOL",
"email": null,
"full_workflow_path": "github.com/A2/addedthistoolviasync",
"gitUrl": "[email protected]:A2/addedthistoolviasync.git",
"has_checker": false,
"id": 18,
Expand Down

0 comments on commit 6061420

Please sign in to comment.