Skip to content

Conversation

@wenfix
Copy link
Collaborator

@wenfix wenfix commented Feb 18, 2025

No description provided.

import { AUCTION_TOKEN_ADDRESS } from "../../../../app-config";
import { COMPONENTS } from "../constants";

const BASE_URL = "http://localhost:5173";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this could be the BASE_URL from constants

const LAUNCH_ID =
Cypress.env("VITE_TESTNET") === "true" ? blastSepoliaChainId : baseChainId;

const APP_BASE_URL = "http://localhost:5173/#";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't the BASE_URL on line 1 this value?


describe("Auction List Page", () => {
it("Should load the root page", () => {
cy.visit(BASE_URL);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will pass even if the home page fails and an error page is shown.
I think we can omit this top level test from here as its covered in the smoke tests:

smoke.cy.ts

it("renders home page", () => {
    cy.visit(URLS.HOME);
    cy.shouldRenderPageWithId("__AXIS_HOME_PAGE__");
  });

Copy link
Collaborator

@edmulraney edmulraney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@edmulraney edmulraney merged commit 105edbf into main Mar 26, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants