Skip to content

Commit

Permalink
reduce test flakiness by waiting for the correct element
Browse files Browse the repository at this point in the history
  • Loading branch information
campersau committed May 5, 2020
1 parent 7ba7d73 commit eea207d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clicktests/spec.branches.js
Expand Up @@ -104,7 +104,7 @@ describe('[BRANCHES]', () => {
it('cherrypick success case', async () => {
await environment.click('[data-ta-clickable="node-clickable-1"]');
await environment.click('[data-ta-action="cherry-pick"]:not([style*="display: none"]) .dropmask');
await environment.waitForElementVisible('[data-ta-clickable="node-clickable-0"]'); // wait for nodes to come back
await environment.waitForElementVisible('[data-ta-node-title="commit-2"] .ref.branch.current');
});

it('test backward squash from own lineage', async () => {
Expand Down

0 comments on commit eea207d

Please sign in to comment.