snapshot of https://github.com/krayin/laravel-crm.git (2.2, 2026-09-18; blobs > 131072B omitted)
Some checks failed
Admin | Playwright Tests / Admin | Playwright Tests | Shard 1 Of 6 (push) Failing after 37s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 2 Of 6 (push) Failing after 7s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 4 Of 6 (push) Failing after 7s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 6 Of 6 (push) Failing after 6s
Linting Tests / PHP 8.3 test on ubuntu-latest (push) Failing after 5s
CI / PHP 8.3 test on ubuntu-latest (push) Failing after 6s
Skills Consistency / validate-skills (push) Successful in 10s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 3 Of 6 (push) Failing after 7s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 5 Of 6 (push) Failing after 6s
Some checks failed
Admin | Playwright Tests / Admin | Playwright Tests | Shard 1 Of 6 (push) Failing after 37s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 2 Of 6 (push) Failing after 7s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 4 Of 6 (push) Failing after 7s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 6 Of 6 (push) Failing after 6s
Linting Tests / PHP 8.3 test on ubuntu-latest (push) Failing after 5s
CI / PHP 8.3 test on ubuntu-latest (push) Failing after 6s
Skills Consistency / validate-skills (push) Successful in 10s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 3 Of 6 (push) Failing after 7s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 5 Of 6 (push) Failing after 6s
This commit is contained in:
96
packages/Webkul/Admin/tests/e2e-pw/pages/SettingsPage.ts
Normal file
96
packages/Webkul/Admin/tests/e2e-pw/pages/SettingsPage.ts
Normal file
@@ -0,0 +1,96 @@
|
||||
import { Page } from "playwright/test";
|
||||
import CoreLocators from "../locator/CoreLocators";
|
||||
|
||||
export class SettingsPage extends CoreLocators {
|
||||
readonly page: Page;
|
||||
|
||||
constructor(page: Page) {
|
||||
super(page);
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
// Warehouses
|
||||
async navigateToWarehouses() {
|
||||
await this.page.goto("admin/settings/warehouses");
|
||||
}
|
||||
|
||||
// Automation
|
||||
async navigateToAutomation() {
|
||||
await this.page.goto("admin/settings/automation");
|
||||
}
|
||||
|
||||
// Attributes
|
||||
async navigateToAttributes() {
|
||||
await this.page.goto("admin/settings/attributes");
|
||||
}
|
||||
|
||||
// Email Templates
|
||||
async navigateToEmailTemplates() {
|
||||
await this.page.goto("admin/settings/email-templates");
|
||||
}
|
||||
|
||||
// Events
|
||||
async navigateToEvents() {
|
||||
await this.page.goto("admin/settings/marketing/events");
|
||||
}
|
||||
|
||||
// Campaigns
|
||||
async navigateToCampaigns() {
|
||||
await this.page.goto("admin/settings/marketing/campaigns");
|
||||
}
|
||||
|
||||
// Webhooks
|
||||
async navigateToWebhooks() {
|
||||
await this.page.goto("admin/settings/webhooks");
|
||||
}
|
||||
|
||||
// Workflows
|
||||
async navigateToWorkflows() {
|
||||
await this.page.goto("admin/settings/workflows");
|
||||
}
|
||||
|
||||
// Data Transfer
|
||||
async navigateToDataTransfer() {
|
||||
await this.page.goto("admin/settings/data-transfer/imports");
|
||||
}
|
||||
|
||||
// Other Settings
|
||||
async navigateToOtherSettings() {
|
||||
await this.page.goto("admin/settings/other-settings");
|
||||
}
|
||||
|
||||
// Web Forms
|
||||
async navigateToWebForms() {
|
||||
await this.page.goto("admin/settings/web-forms");
|
||||
}
|
||||
|
||||
// Tags
|
||||
async navigateToTags() {
|
||||
await this.page.goto("admin/settings/tags");
|
||||
}
|
||||
|
||||
// Groups
|
||||
async navigateToGroups() {
|
||||
await this.page.goto("admin/settings/groups");
|
||||
}
|
||||
|
||||
// Roles
|
||||
async navigateToRoles() {
|
||||
await this.page.goto("admin/settings/roles");
|
||||
}
|
||||
|
||||
// Users / Agents
|
||||
async navigateToUsers() {
|
||||
await this.page.goto("admin/settings/users");
|
||||
}
|
||||
|
||||
// Pipelines
|
||||
async navigateToPipelines() {
|
||||
await this.page.goto("admin/settings/pipelines");
|
||||
}
|
||||
|
||||
// Sources
|
||||
async navigateToSources() {
|
||||
await this.page.goto("admin/settings/sources");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user