Skip to content

Commit

Permalink
fix: fix for debug page isLoading flag (#25614)
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensplayer authored Jan 27, 2023
1 parent 40a6ee0 commit 2f8dd67
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/app/src/pages/Debug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,13 @@ const query = useQuery({ query: DebugDocument, variables, pause: shouldPauseQuer
const isLoading = computed(() => {
const relevantRunsHaveNotLoaded = !relevantRuns.value
const relevantRunHasEmptyState = relevantRuns?.value?.current === undefined
const queryIsBeingFetched = query.fetching.value
const waitingForRunToFetchFromTheCloud = relevantRuns.value?.current !== -1
const waitingForRunToFetchFromTheCloud = !!relevantRuns.value?.current && relevantRuns.value.current > 0
&& (!query.data.value?.currentProject?.cloudProject
|| query.data.value?.currentProject?.cloudProject?.__typename === 'CloudProject'
&& !query.data.value.currentProject.cloudProject.runByNumber?.status)
return relevantRunsHaveNotLoaded || relevantRunHasEmptyState || queryIsBeingFetched || waitingForRunToFetchFromTheCloud
return relevantRunsHaveNotLoaded || queryIsBeingFetched || waitingForRunToFetchFromTheCloud
})
useSubscription({ query: Debug_SpecsChangeDocument })
Expand Down

5 comments on commit 2f8dd67

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 2f8dd67 Jan 28, 2023

Choose a reason for hiding this comment

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

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.5.0/linux-arm64/feature/IATR-M0-2f8dd67fb7e6a2cdf49abb08b665acf1d6c7bc91/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 2f8dd67 Jan 28, 2023

Choose a reason for hiding this comment

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

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.5.0/linux-x64/feature/IATR-M0-2f8dd67fb7e6a2cdf49abb08b665acf1d6c7bc91/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 2f8dd67 Jan 28, 2023

Choose a reason for hiding this comment

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

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.5.0/darwin-arm64/feature/IATR-M0-2f8dd67fb7e6a2cdf49abb08b665acf1d6c7bc91/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 2f8dd67 Jan 28, 2023

Choose a reason for hiding this comment

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

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.5.0/darwin-x64/feature/IATR-M0-2f8dd67fb7e6a2cdf49abb08b665acf1d6c7bc91/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 2f8dd67 Jan 28, 2023

Choose a reason for hiding this comment

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

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.5.0/win32-x64/feature/IATR-M0-2f8dd67fb7e6a2cdf49abb08b665acf1d6c7bc91/cypress.tgz

Please sign in to comment.