Skip to content

Refactoring permissions.spec.js to use fixtures#10829

Merged
NiranjanaBinoy merged 2 commits intodevelopfrom
e2e-fixtures-permissions
Apr 6, 2021
Merged

Refactoring permissions.spec.js to use fixtures#10829
NiranjanaBinoy merged 2 commits intodevelopfrom
e2e-fixtures-permissions

Conversation

@NiranjanaBinoy
Copy link
Contributor

Fixes: #10828

Explanation:

  • Moved the file to test/e2e/tests
  • Updated permissions.spec.js to use fixtures.
  • Updated run-all.sh to use the new test file.
  • Deleted the old permissions.spec.js file

@NiranjanaBinoy NiranjanaBinoy requested a review from Gudahtt April 6, 2021 01:31
@NiranjanaBinoy NiranjanaBinoy self-assigned this Apr 6, 2021
@NiranjanaBinoy NiranjanaBinoy requested a review from a team as a code owner April 6, 2021 01:31
@github-actions
Copy link
Contributor

github-actions bot commented Apr 6, 2021

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot
Copy link
Collaborator

Builds ready [62d1b6c]
Page Load Metrics (758 ± 46 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint49846784
domContentLoaded4468627569646
load4478647589646
domInteractive4468627569646

Gudahtt
Gudahtt previously approved these changes Apr 6, 2021
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! One leftover comment to get rid of - I can re-approve after that is removed.

By.xpath(`//button[contains(text(), 'Connect')]`),
);

// await driver.waitUntilXWindowHandles(2);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Leftover comment from development it looks like

Suggested change
// await driver.waitUntilXWindowHandles(2);

@metamaskbot
Copy link
Collaborator

Builds ready [3901414]
Page Load Metrics (554 ± 51 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint45715874
domContentLoaded32064755210651
load32264855410651
domInteractive32064655210651

@NiranjanaBinoy NiranjanaBinoy merged commit 501829e into develop Apr 6, 2021
@NiranjanaBinoy NiranjanaBinoy deleted the e2e-fixtures-permissions branch April 6, 2021 21:11
@github-actions github-actions bot locked and limited conversation to collaborators Apr 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor permissions.spec.js to follow pattern in metamask-extension/test/e2e/tests

3 participants