Skip to content

Commit

Permalink
test(docs-e2e): remove /docs path
Browse files Browse the repository at this point in the history
  • Loading branch information
HasithDeAlwis committed Oct 10, 2024
1 parent 246dc27 commit 9826776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions apps/docs-e2e/src/docs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ const test = base.extend<{ docsLayoutPage: DocsLayout }>({

const GITHUB_BASE_URL = 'https://github.com/cuhacking'
const GITHUB_ORG_BASE_URL = 'https://github.com/orgs/cuhacking'
const DOCS_BASE_URL = 'http://localhost:3000'
const CUHACKING_2025_DOCS_URL = 'http://localhost:3000'

const CUHACKING_2025_PLATFORM_GITHUB_PROJECT_BOARD_URL = `${GITHUB_ORG_BASE_URL}/projects/4`
const CUHACKING_2025_PLATFORM_GITHUB_REPOSITORY_URL = `${GITHUB_BASE_URL}/2025`
const CUHACKING_2025_PLATFORM_GITHUB_INDEX_PAGE_URL = `${GITHUB_BASE_URL}/2025/blob/main/apps/docs/src/content/docs/index.mdx`
const CUHACKING_2025_LANDING_PAGE_GITHUB_REPOSITORY_URL = `${GITHUB_BASE_URL}/landing-page`

const CUHACKING_2025_DOCS_URL = `${DOCS_BASE_URL}/docs`

const CUHACKING_2025_LANDING_PAGE_URL = 'https://www.cuhacking.ca/'

/* ---------------- MOBILE + DESKTOP + TABLET ---------------- */
Expand Down
2 changes: 1 addition & 1 deletion apps/docs-e2e/src/pom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ export class DocsLayout {
}

async goto() {
await this.page.goto('http://localhost:3000/docs')
await this.page.goto('http://localhost:3000')
}
}

0 comments on commit 9826776

Please sign in to comment.