feat(invitations): add the candidate invitation inbox with C4 acceptance and decline
This commit is contained in:
1 parent
12a7213d4a
commit
a856066316
54 files changed
+3897
-136
No files matched your search
@@ -17,12 +17,20 @@ if (!allowedHosts.has(new URL(baseURL).hostname)) {
|
||||
|
||||
const artifactsDir = process.env.E2E_ARTIFACTS_DIR ?? "test-results/e2e";
|
||||
|
||||
// The real-bank search runs first and alone. An unfiltered bank search returns
|
||||
// the candidates that earlier specs published, so the test is independent of
|
||||
// the other specs only if it runs before them (see the header of
|
||||
// match-search.spec.ts).
|
||||
const realBankSearch = /employer candidate search with the real backend/;
|
||||
|
||||
export default defineConfig({
|
||||
testDir: "./e2e",
|
||||
outputDir: `${artifactsDir}/results`,
|
||||
forbidOnly: Boolean(process.env.CI),
|
||||
// The browser container has two CPUs; host-based defaults oversubscribe it.
|
||||
workers: 2,
|
||||
// One worker: every browser shares one client address, so all browsers draw
|
||||
// on one per-address API budget of the stand's Nginx. Two workers left too
|
||||
// little margin in the busiest seconds of the suite (see docs/en/TESTING.md).
|
||||
workers: 1,
|
||||
retries: 0,
|
||||
reporter: [["list"], ["html", { outputFolder: `${artifactsDir}/report`, open: "never" }]],
|
||||
use: {
|
||||
@@ -32,5 +40,18 @@ export default defineConfig({
|
||||
screenshot: "only-on-failure",
|
||||
video: "off",
|
||||
},
|
||||
projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }],
|
||||
projects: [
|
||||
{
|
||||
name: "real-bank-search",
|
||||
testMatch: /match-search\.spec\.ts$/,
|
||||
grep: realBankSearch,
|
||||
use: { ...devices["Desktop Chrome"] },
|
||||
},
|
||||
{
|
||||
name: "chromium",
|
||||
dependencies: ["real-bank-search"],
|
||||
grepInvert: realBankSearch,
|
||||
use: { ...devices["Desktop Chrome"] },
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in new issue
Block a user