Skip to content

Commit

Permalink
Fixed hardcoded local path
Browse files Browse the repository at this point in the history
  • Loading branch information
antowaddle committed Dec 12, 2024
1 parent 734a21e commit c0c9dd4
Showing 1 changed file with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
import path from 'path';

describe('Verify that all the URLs referenced in the Manifest directory are operational', () => {
it('Reads the manifest directory, filters out unwanted URLs, and validates the remaining URLs', () => {
const baseDir = process.env.BASE_DIR || '/Users/acoughli';
const manifestsDir: string = path.resolve(
baseDir,
'forked-odh-dashboard/odh-dashboard/manifests',
);

cy.log('Resolved manifests directory:', manifestsDir);
it('Reads the manifest directory, filters out test/sample URLs and validates the remaining URLs', () => {
const manifestsDir = '../../../../manifests';
cy.log(`Resolved manifests directory: ${manifestsDir}`);

// Extract URLs from the manifests directory using the registered task
cy.task<string[]>('extractHttpsUrls', manifestsDir).then((urls) => {
Expand Down

0 comments on commit c0c9dd4

Please sign in to comment.