Skip to content

Commit

Permalink
fix: revert github.io references
Browse files Browse the repository at this point in the history
  • Loading branch information
CKodes committed Oct 23, 2024
1 parent ee74ced commit c19eb61
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions INTEGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Create <code>cypress/e2e/spec.cy.js</code> with the following contents:
describe("template spec", () => {
it("should run oobee A11y", () => {
cy.visit(
"https://govtechsg.github.io/oobee-banner-embeds/oobee-integrated-scan-example.htm"
"https://govtechsg.github.io/purple-banner-embeds/oobee-integrated-scan-example.htm"
);
cy.injectPurpleA11yScripts();
cy.runPurpleA11yScan();
Expand Down Expand Up @@ -408,7 +408,7 @@ Create <code>src/cypress/e2e/spec.cy.ts</code> with the following contents:
describe("template spec", () => {
it("should run oobee A11y", () => {
cy.visit(
"https://govtechsg.github.io/oobee-banner-embeds/oobee-integrated-scan-example.htm"
"https://govtechsg.github.io/purple-banner-embeds/oobee-integrated-scan-example.htm"
);
cy.injectPurpleA11yScripts();
cy.runPurpleA11yScan();
Expand Down Expand Up @@ -510,7 +510,7 @@ On your project's root folder, create a Playwright test file <code>oobeeA11y-pla
oobeeA11y.testThresholds(); // test the accumulated number of issue occurrences against specified thresholds. If exceed, terminate oobeeA11y instance.
};

await page.goto('https://govtechsg.github.io/oobee-banner-embeds/oobee-integrated-scan-example.htm');
await page.goto('https://govtechsg.github.io/purple-banner-embeds/oobee-integrated-scan-example.htm');
await page.evaluate(oobeeA11y.getScripts());
await runPurpleA11yScan();

Expand Down Expand Up @@ -617,7 +617,7 @@ Create a sub-folder and Playwright test file <code>src/oobeeA11y-playwright-demo
oobeeA11y.testThresholds(); // test the accumulated number of issue occurrences against specified thresholds. If exceed, terminate oobeeA11y instance.
};

await page.goto('https://govtechsg.github.io/oobee-banner-embeds/oobee-integrated-scan-example.htm');
await page.goto('https://govtechsg.github.io/purple-banner-embeds/oobee-integrated-scan-example.htm');
await page.evaluate(oobeeA11y.getScripts());
await runPurpleA11yScan();

Expand Down
4 changes: 2 additions & 2 deletions src/static/ejs/partials/components/scanAbout.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,13 @@
id="oobee-online-banner"
title="GovTech Accessibility Enabling Team information banner"
class="h-auto w-100"
src="https://govtechsg.github.io/oobee-banner-embeds/"
src="https://govtechsg.github.io/purple-banner-embeds/"
scrolling="no"
></iframe>
<script>
const oobeeOnlineBannerElem = document.getElementById('oobee-online-banner');
oobeeOnlineBannerElem.style.display = 'none';
fetch('https://govtechsg.github.io/oobee-banner-embeds/')
fetch('https://govtechsg.github.io/purple-banner-embeds/')
.then((response) => {
if (response.ok) {
console.log(response);
Expand Down
4 changes: 2 additions & 2 deletions src/static/ejs/partials/scripts/utils.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@
const api = memoizeApiCall();
const apiUrls = {
catalog: 'https://govtechsg.github.io/oobee-ai/catalog.json',
getRuleIdData: (ruleId) => `https://govtechsg.github.io/oobee-ai/results/${ruleId}.json`
catalog: 'https://govtechsg.github.io/purple-ai/catalog.json',
getRuleIdData: (ruleId) => `https://govtechsg.github.io/purple-ai/results/${ruleId}.json`
}
const isOffline = () => !window.navigator.onLine;
Expand Down

0 comments on commit c19eb61

Please sign in to comment.