diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index def9182a0..862b7ef45 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -21,9 +21,9 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - name: Install Playwright Browsers - run: npx playwright install --with-deps chromium + run: pnpm exec playwright install --with-deps chromium - name: E2E Tests - run: npm run e2e + run: pnpm run e2e - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: diff --git a/src/lib/layout/index.ts b/src/lib/layout/index.ts index afc33bb2c..e45069dd1 100644 --- a/src/lib/layout/index.ts +++ b/src/lib/layout/index.ts @@ -21,5 +21,4 @@ export { default as HeaderAlert } from './headerAlert.svelte'; export { default as ContainerButton } from './containerButton.svelte'; export { default as WizardSecondaryContainer } from './wizardSecondaryContainer.svelte'; export { default as WizardSecondaryContent } from './wizardSecondaryContent.svelte'; -export { default as WizardSecondaryHeader } from './wizardSecondaryHeader.svelte'; export { default as WizardSecondaryFooter } from './wizardSecondaryFooter.svelte'; diff --git a/src/lib/layout/wizardSecondaryContainer.svelte b/src/lib/layout/wizardSecondaryContainer.svelte index 0b9976f79..3bb3685a4 100644 --- a/src/lib/layout/wizardSecondaryContainer.svelte +++ b/src/lib/layout/wizardSecondaryContainer.svelte @@ -1,13 +1,70 @@ + +
+
+
+ + +
+ {#if $$slots.description} +

+ {/if} +
+
diff --git a/src/lib/layout/wizardSecondaryHeader.svelte b/src/lib/layout/wizardSecondaryHeader.svelte deleted file mode 100644 index ca48252a5..000000000 --- a/src/lib/layout/wizardSecondaryHeader.svelte +++ /dev/null @@ -1,61 +0,0 @@ - - - - -
-
- - -
- {#if $$slots.description} -

- {/if} -
diff --git a/src/routes/(console)/apply-credit/+page.svelte b/src/routes/(console)/apply-credit/+page.svelte index 89511e5fe..7ef6db76f 100644 --- a/src/routes/(console)/apply-credit/+page.svelte +++ b/src/routes/(console)/apply-credit/+page.svelte @@ -14,8 +14,7 @@ import { WizardSecondaryContainer, WizardSecondaryContent, - WizardSecondaryFooter, - WizardSecondaryHeader + WizardSecondaryFooter } from '$lib/layout'; import { type PaymentList } from '$lib/sdk/billing'; import { app } from '$lib/stores/app'; @@ -195,10 +194,8 @@ Apply credits - Appwrite - - (showExitModal = true)}> - Apply credits - + + Apply credits
diff --git a/src/routes/(console)/create-organization/+page.svelte b/src/routes/(console)/create-organization/+page.svelte index 9791d54a9..7deb506b0 100644 --- a/src/routes/(console)/create-organization/+page.svelte +++ b/src/routes/(console)/create-organization/+page.svelte @@ -16,8 +16,7 @@ import { WizardSecondaryContainer, WizardSecondaryContent, - WizardSecondaryFooter, - WizardSecondaryHeader + WizardSecondaryFooter } from '$lib/layout'; import type { Coupon, PaymentList } from '$lib/sdk/billing'; import { plansInfo, tierFree, tierPro, tierToPlan } from '$lib/stores/billing'; @@ -186,10 +185,8 @@ Create organization - Appwrite - - (showExitModal = true)}> - Create organization - + + Create organization diff --git a/src/routes/(console)/organization-[organization]/change-plan/+page.svelte b/src/routes/(console)/organization-[organization]/change-plan/+page.svelte index 1d0d9aa20..ca4059b84 100644 --- a/src/routes/(console)/organization-[organization]/change-plan/+page.svelte +++ b/src/routes/(console)/organization-[organization]/change-plan/+page.svelte @@ -25,8 +25,7 @@ import { WizardSecondaryContainer, WizardSecondaryContent, - WizardSecondaryFooter, - WizardSecondaryHeader + WizardSecondaryFooter } from '$lib/layout'; import { type Coupon, type PaymentList } from '$lib/sdk/billing'; import { plansInfo, tierFree, tierPro, tierToPlan, type Tier } from '$lib/stores/billing'; @@ -250,10 +249,8 @@ Change plan - Appwrite - - (showExitModal = true)}> - Change plan - + + Change plan diff --git a/src/routes/(console)/project-[project]/functions/function-[function]/executions/execute-function/+page.svelte b/src/routes/(console)/project-[project]/functions/function-[function]/executions/execute-function/+page.svelte index 12363702a..525516a59 100644 --- a/src/routes/(console)/project-[project]/functions/function-[function]/executions/execute-function/+page.svelte +++ b/src/routes/(console)/project-[project]/functions/function-[function]/executions/execute-function/+page.svelte @@ -28,8 +28,7 @@ import { WizardSecondaryContainer, WizardSecondaryContent, - WizardSecondaryFooter, - WizardSecondaryHeader + WizardSecondaryFooter } from '$lib/layout'; import { addNotification } from '$lib/stores/notifications'; import { sdk } from '$lib/stores/sdk'; @@ -145,8 +144,8 @@ Execute function - Appwrite - - Execute function + + Execute Function