Skip to content

Commit

Permalink
chore: Refactor inconsistent test title numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
NabinKawan committed Jun 12, 2024
1 parent d01e85a commit 86df750
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test.beforeEach(async () => {
await setAllureEpic("4. Proposal visibility");
});

test("4A.2. Should access Governance Actions page without connecting wallet", async ({
test("4A_2. Should access Governance Actions page without connecting wallet", async ({
page,
}) => {
await page.goto("/");
Expand All @@ -17,7 +17,7 @@ test("4A.2. Should access Governance Actions page without connecting wallet", as
await expect(page.getByText(/Governance actions/i)).toHaveCount(2);
});

test("4B.2. Should restrict voting for users who are not registered as DReps (without wallet connected)", async ({
test("4B_2. Should restrict voting for users who are not registered as DReps (without wallet connected)", async ({
page,
}) => {
const govActionsPage = new GovernanceActionsPage(page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test.use({
wallet: dRep01Wallet,
});

test("6H Should restrict dRep registration for dRep", async ({ page }) => {
test("6H. Should restrict dRep registration for dRep", async ({ page }) => {
await page.goto(`${environments.frontendUrl}/register_drep`);

await page.waitForTimeout(2_000);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test.use({
wallet: user01Wallet,
});

test("6E Should open Sanchonet docs in a new tab when clicking `Learn More` on dashboards in connected state.", async ({
test("6E. Should open Sanchonet docs in a new tab when clicking `Learn More` on dashboards in connected state.", async ({
page,
context,
}) => {
Expand Down Expand Up @@ -69,7 +69,7 @@ test("6E Should open Sanchonet docs in a new tab when clicking `Learn More` on d
);
});

test("6F should open sanchonet docs in a new tab when clicking `info` button of abstain and signal-no-confidence card", async ({
test("6F. should open sanchonet docs in a new tab when clicking `info` button of abstain and signal-no-confidence card", async ({
page,
context,
}) => {
Expand All @@ -95,7 +95,7 @@ test("6F should open sanchonet docs in a new tab when clicking `info` button of
);
});

test("6G Should restrict edit dRep for non dRep", async ({ page }) => {
test("6G. Should restrict edit dRep for non dRep", async ({ page }) => {
const editDrepPage = new EditDRepPage(page);
await editDrepPage.goto();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ test("6C. Navigation within the dApp", async ({ page, context }) => {
expect(page.url()).toEqual(`${environments.frontendUrl}/`);
});

test("6D Should open Sanchonet docs in a new tab when clicking `Learn More` on dashboards in disconnected state.", async ({
test("6D. Should open Sanchonet docs in a new tab when clicking `Learn More` on dashboards in disconnected state.", async ({
page,
context,
}) => {
Expand Down

0 comments on commit 86df750

Please sign in to comment.