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

test: merge queue metrics - test the number increases when PR is kicked out #29123

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
if: ${{ github.event_name == 'merge_group' && failure() && !github.event.repository.fork }}
needs:
- all-jobs-pass
uses: metamask/github-tools/.github/workflows/log-merge-group-failure.yml@6bbad335a01fce1a9ec1eabd9515542c225d46c0
uses: metamask/github-tools/.github/workflows/log-merge-group-failure.yml@7f7bdd6a3d6aaad46384546938bc261429efd06e
secrets:
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
GOOGLE_SERVICE_ACCOUNT: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }}
Expand Down
1 change: 1 addition & 0 deletions privacy-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"raw.githubusercontent.com",
"registry.npmjs.org",
"responsive-rpc.test",
"seaona.github.io",
"security-alerts.api.cx.metamask.io",
"security-alerts.dev-api.cx.metamask.io",
"sentry.io",
Expand Down
26 changes: 26 additions & 0 deletions test/e2e/tests/privacy/merque-queue.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { Suite } from 'mocha';
import { defaultGanacheOptions, withFixtures } from '../../helpers';
import { Driver } from '../../webdriver/driver';
import FixtureBuilder from '../../fixture-builder';

// This spec is created just for the purposes of testing the merge queue
// We are doing a live request, and once the PR is in the merge queue,
// we change the live site to make the test fail
describe('Merge Queue', function (this: Suite) {
it('merge queue test kicked out', async function () {
await withFixtures(
{
fixtures: new FixtureBuilder().build(),
ganacheOptions: defaultGanacheOptions,
title: this.test?.fullTitle(),
},
async ({ driver }: { driver: Driver }) => {
await driver.openNewPage('https://seaona.github.io/blog/');
await driver.waitForSelector({
text: 'Hacking in the Ethereum Dark Forest',
tag: 'a',
});
},
);
});
});
Loading