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 6 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
4 changes: 3 additions & 1 deletion privacy-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@
"price.api.cx.metamask.io",
"proxy.api.cx.metamask.io",
"proxy.dev-api.cx.metamask.io",
"signature-insights.api.cx.metamask.io",
"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",
"sepolia.infura.io",
"signature-insights.api.cx.metamask.io",
"snaps.metamask.io",
"sourcify.dev",
"start.metamask.io",
Expand All @@ -72,5 +73,6 @@
"unresponsive-rpc.test",
"unresponsive-rpc.url",
"user-storage.api.cx.metamask.io",
"verify.walletconnect.com",
"www.4byte.directory"
]
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