From 1c019e9f0f4cfbc2d02dc8ccfc734a9bec50a261 Mon Sep 17 00:00:00 2001 From: Moneeza Syed <14besemsyed@seecs.edu.pk> Date: Sat, 2 Dec 2023 21:51:48 +0100 Subject: [PATCH] fixed axios --- cypress/e2e/adrManagerTest/apiUrlConfig/config.js | 4 ---- cypress/support/e2e.js | 2 ++ src/App.vue | 2 ++ src/components/ConnectToGitHubButton.vue | 3 --- src/plugins/apiConfig/config.js | 9 +++++---- 5 files changed, 9 insertions(+), 11 deletions(-) delete mode 100644 cypress/e2e/adrManagerTest/apiUrlConfig/config.js diff --git a/cypress/e2e/adrManagerTest/apiUrlConfig/config.js b/cypress/e2e/adrManagerTest/apiUrlConfig/config.js deleted file mode 100644 index 2c43e90..0000000 --- a/cypress/e2e/adrManagerTest/apiUrlConfig/config.js +++ /dev/null @@ -1,4 +0,0 @@ -export const GRAPHQL_URL = "https://api.github.com/graphql" -export const REST_REPO_URL = "**/repos/**" -export const REST_BRANCH_URL = "**/repos/**/branches/**" -export const REST_COMMIT_URL = "**/repos/**/git/commits?**" diff --git a/cypress/support/e2e.js b/cypress/support/e2e.js index fac9c1f..122c6a8 100644 --- a/cypress/support/e2e.js +++ b/cypress/support/e2e.js @@ -18,8 +18,10 @@ import "./commands"; // cypress/support/index.js import "@cypress/code-coverage/support"; + export const TEST_BASE_URL = "http://localhost:8000/adr-manager/#/manager"; export const GRAPHQL_URL = "https://api.github.com/graphql" export const REST_REPO_URL = "**/repos/**" export const REST_BRANCH_URL = "**/repos/**/branches/**" export const REST_COMMIT_URL = "**/repos/**/git/commits?**" + diff --git a/src/App.vue b/src/App.vue index aef98e0..0fbb01a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,6 +7,8 @@