first commit
This commit is contained in:
33
tests/cypress/e2e/buyProduct_Zasilkovna.cy.ts
Normal file
33
tests/cypress/e2e/buyProduct_Zasilkovna.cy.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import * as wpj from '../support/wpj';
|
||||
|
||||
describe('Průchod košíkem s vybráním dopravy Zasilkovna', () => {
|
||||
// it('Přidej produkt do košíku a vyber Zasilkovna dopravu', () => {
|
||||
// wpj.addProductToCart();
|
||||
// wpj.stepIntoCart();
|
||||
// cy.get('.delivery-item-zasilkovna > .custom-radio').click();
|
||||
// cy.get('.deliveries-box', {
|
||||
// timeout: 2000,
|
||||
// }).should('be.visible');
|
||||
// cy.url().should('include', 'doprava-platba');
|
||||
// });
|
||||
// it('Vyber Zasilkovny', () => {
|
||||
// cy.get('.delivery-item-zasilkovna> .custom-radio').click({ force: true });
|
||||
// cy.getIframeBody('#packeta-widget')
|
||||
// .find('.custom-autocomplete input')
|
||||
// .type('Vrchlabí{enter}');
|
||||
// cy.getIframeBody('#packeta-widget')
|
||||
// .find('custom-autocomplete__list li.point', { timeout: 3000 })
|
||||
// .first()
|
||||
// .click();
|
||||
// cy.getIframeBody('#packeta-widget').find('#btn_select_branch').click();
|
||||
// });
|
||||
// it('Proklik na vyplnění údajů', () => {
|
||||
// cy.get('.cart-nextstep-wrapper > .btn', { timeout: 10000 }).click({ force: true });
|
||||
// cy.url().should('include', '/kosik/udaje/');
|
||||
// wpj.fillCustomerDeliveryInfo();
|
||||
// });
|
||||
// it('Dokončení nákupního procesu', () => {
|
||||
// cy.get('.cart-nextstep-wrapper > .btn').click();
|
||||
// cy.get('.cart-success-message').contains('úspěšně přijata');
|
||||
// });
|
||||
});
|
||||
Reference in New Issue
Block a user