Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sj/caip multichain api spec tests ci #27317

Merged
merged 19 commits into from
Sep 26, 2024

Conversation

shanejonas
Copy link
Contributor

@shanejonas shanejonas commented Sep 20, 2024

Description

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@shanejonas shanejonas requested review from kumavis and a team as code owners September 20, 2024 20:50
Copy link
Contributor

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.

@@ -43,7 +45,7 @@ async function main() {
disableGanache: true,
title: 'api-specs coverage',
},
async ({ driver }: { driver: Driver }) => {
async ({ driver, extensionId }: any) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

adding extensionId: string to this type gave an error so put in any for now

});

await htmlReporter.onEnd({} as IOptions, joinedResults);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

merged the 2 multichain reports into 1 using the HtmlReporter itself

@@ -110,6 +110,7 @@ class ChromeDriver {
return {
driver,
extensionUrl: `chrome-extension://${extensionId}`,
extensionId,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the code already assumed this existed in buildWebDriver

image

Base automatically changed from caip-multichain-caip-27-api-spec-tests to caip-multichain September 25, 2024 19:49
@shanejonas shanejonas requested a review from a team as a code owner September 25, 2024 19:49
Copy link

sonarcloud bot commented Sep 25, 2024

@@ -874,7 +877,7 @@ jobs:
at: .
- run:
name: Build extension for testing
command: yarn build:test
command: CHAIN_PERMISSIONS=1 BARAD_DUR=1 yarn build:test
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need the CHAIN_PERMISSIONS=1 flag?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I kept getting a spinning loader when i didnt have it.

We have to remove these flags from the regular ci build before merging the feature branch anyways.

Copy link
Contributor

@adonesky1 adonesky1 left a comment

Choose a reason for hiding this comment

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

Left one comment otherwise LGTM!

@shanejonas shanejonas merged commit d1cb468 into caip-multichain Sep 26, 2024
52 of 70 checks passed
@shanejonas shanejonas deleted the sj/caip-multichain-api-spec-tests-ci branch September 26, 2024 14:29
@github-actions github-actions bot locked and limited conversation to collaborators Sep 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants