Skip to content
Merged
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
14 changes: 7 additions & 7 deletions tests/govtool-frontend/playwright/.env.example
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
FRONTEND_URL=http://localhost:3000
HOST_URL=http://localhost:3000
API_URL=http://localhost:3000/api

DOCS_URL=https://docs.gov.tools


PDF_URL=https://dev.api.pdf.gov.tools

# 0 for testnet, 1 for mainnet
NETWORK_ID=0

# Faucet
FAUCET_API_KEY=

Expand All @@ -19,13 +16,16 @@ BLOCKFROST_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXX
KUBER_API_KEY=

# Transaction timeout
TX_TIMEOUT=120000 # milliseconds
TX_TIMEOUT=240000 # milliseconds

# Metadata Bucket
METADATA_BUCKET_URL=https://metadata.cardanoapi.io/data
METADATA_BUCKET_URL=https://metadata-govtool.cardanoapi.io

FAUCET_ADDRESS=addr_test1vqeux7xwusdju9dvsj8h7mca9aup2k439kfmwy773xxc2hcu7zy99


PROPOSAL_FAUCET_PAYMENT_PRIVATE=**********************************************
PROPOSAL_FAUCET_STAKE_PRIVATE=**********************************************
PROPOSAL_FAUCET_STAKE_PRIVATE=**********************************************

CI=true
TEST_WORKERS=6
1 change: 1 addition & 0 deletions tests/govtool-frontend/playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"allure:serve": "npx allure serve",
"test": "npx playwright test",
"format": "prettier . --write",
"test:outcomes": "npx playwright test outcomes.spec.ts --ui",
"generate-wallets": "ts-node ./generate_wallets.ts 19"
},
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ test.describe("Outcome details dependent test", () => {
const title = await outcomeCard
.locator('[data-testid$="-card-title"]')
.textContent();
expect(title).toContain(governanceActionTitle);
expect(title.toLowerCase()).toContain(governanceActionTitle.toLowerCase());
}
},
{ name: "search by title" }
Expand Down