
* reference type cypress working * refactor * remove screenshots * add reference * add slash marker * run tests based on shop version * fix run tests based on shop version * fix run tests based on shop version * change base url to localhost * fix plugins * fix plugins * fix plugins * fix plugins * fix plugins * fix plugins * fix yml * fix yml * chage file names * fix files names * fix broken imports add checking for errors in grpah responses * fix broken imports add checking for errors in grpah responses * update jest * fix snapshot
52 lines
2.1 KiB
TypeScript
52 lines
2.1 KiB
TypeScript
declare namespace Cypress {
|
|
interface Chainable<Subject> {
|
|
clearSessionData(): Chainable<any>;
|
|
handleDeleteElement(
|
|
element: {},
|
|
deleteFunction: function,
|
|
startsWith: string,
|
|
name: string
|
|
): Chainable<any>;
|
|
deleteElementsStartsWith(
|
|
deleteFunction: function,
|
|
getFunction: function,
|
|
startsWith: string,
|
|
name? = string
|
|
): Chainable<any>;
|
|
softExpectSkeletonIsVisible(): Chainable<any>;
|
|
expectCorrectFullAddress(
|
|
responseAddress: string,
|
|
expectedAddress: string
|
|
): Chainable<any>;
|
|
expectCorrectBasicAddress(
|
|
responseAddress: string,
|
|
expectedAddress: string
|
|
): Chainable<any>;
|
|
softAssertVisibility(selector: string): Chainable<any>;
|
|
softAssertMatch(selector: string, regexp: string): Chainable<any>;
|
|
getTextFromElement(element: {}): Chainable<any>;
|
|
clearAndType(subject: {}, text: string): Chainable<any>;
|
|
loginUser(): Chainable<any>;
|
|
loginInShop(): Chainable<any>;
|
|
loginUserViaRequest(authorization?: string, user?: {}): Chainable<any>;
|
|
assignElements(name: string, withLoader?: boolean): Chainable<any>;
|
|
fillUpAddressFormAndSubmit(address: {}): Chainable<any>;
|
|
fillUpAddressForm(address: {}): Chainable<any>;
|
|
fillUpBasicAddress(address: {}): Chainable<any>;
|
|
confirmationMessageShouldDisappear(): Chainable<any>;
|
|
waitForProgressBarToNotExist(): Chainable<any>;
|
|
waitForProgressBarToNotBeVisible(): Chainable<any>;
|
|
visitAndWaitForProgressBarToDisappear(url: string): Chainable<any>;
|
|
fillBaseSelect(selectSelector: string, value: string): Chainable<any>;
|
|
fillAutocompleteSelect(
|
|
selectSelector: string,
|
|
option?: string
|
|
): Chainable<any>;
|
|
addAliasToGraphRequest(alias: string): Chainable<any>;
|
|
sendRequestWithQuery(query: string): Chainable<any>;
|
|
fillMultiSelect(selectSelector: string, option: string): Chainable<any>;
|
|
createNewOption(selectSelector: string, newOption: string): Chainable<any>;
|
|
findElementOnTable(elementName: string): Chainable<any>;
|
|
searchInTable(query: string): Chainable<any>;
|
|
}
|
|
}
|