mirror of
https://github.com/AppFlowy-IO/AppFlowy-Web.git
synced 2025-11-30 03:18:02 +08:00
28 lines
638 B
TypeScript
28 lines
638 B
TypeScript
/// <reference types="cypress" />
|
|
|
|
export function getWorkspaceDropdownTrigger() {
|
|
return cy.get('[data-testid="workspace-dropdown-trigger"]');
|
|
}
|
|
|
|
export function openWorkspaceDropdown() {
|
|
return getWorkspaceDropdownTrigger().click();
|
|
}
|
|
|
|
export function getWorkspaceList() {
|
|
return cy.get('[data-testid="workspace-list"]');
|
|
}
|
|
|
|
export function getWorkspaceItems() {
|
|
return cy.get('[data-testid="workspace-item"]');
|
|
}
|
|
|
|
export function getWorkspaceMemberCounts() {
|
|
return cy.get('[data-testid="workspace-member-count"]');
|
|
}
|
|
|
|
export function getUserEmailInDropdown() {
|
|
return cy.get('[data-testid="user-email"]');
|
|
}
|
|
|
|
|