Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shopware-ag/acceptance-test-suite

Package Overview
Dependencies
Maintainers
9
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopware-ag/acceptance-test-suite - npm Package Compare versions

Comparing version 1.1.4 to 1.2.0

65

dist/index.d.ts

@@ -167,2 +167,12 @@ import * as _playwright_test from '@playwright/test';

declare class Category implements PageObject {
readonly page: Page;
readonly categoryData: components['schemas']['Category'];
readonly sortingSelect: Locator;
readonly firstProductBuyButton: Locator;
readonly noProductsFoundAlert: Locator;
constructor(page: Page, CategoryData: components['schemas']['Category']);
goTo(): Promise<void>;
}
declare class CheckoutCart implements PageObject {

@@ -232,2 +242,7 @@ readonly page: Page;

readonly personalDataCardTitle: Locator;
readonly paymentMethodCardTitle: Locator;
readonly billingAddressCardTitle: Locator;
readonly shippingAddressCardTitle: Locator;
readonly newsletterCheckbox: Locator;
readonly newsletterRegistrationSuccessMessage: Locator;
constructor(page: Page);

@@ -258,2 +273,22 @@ goTo(): Promise<void>;

declare class AccountProfile implements PageObject {
readonly page: Page;
readonly salutationSelect: Locator;
readonly firstNameInput: Locator;
readonly lastNameInput: Locator;
readonly saveProfileButton: Locator;
readonly changeEmailButton: Locator;
readonly emailAddressInput: Locator;
readonly emailAddressConfirmInput: Locator;
readonly emailConfirmPasswordInput: Locator;
readonly saveEmailAddressButton: Locator;
readonly changePasswordButton: Locator;
readonly newPasswordInput: Locator;
readonly newPasswordConfirmInput: Locator;
readonly currentPasswordInput: Locator;
readonly saveNewPasswordButton: Locator;
constructor(page: Page);
goTo(): Promise<void>;
}
declare class AccountOrder implements PageObject {

@@ -268,2 +303,23 @@ readonly page: Page;

declare class AccountAddresses implements PageObject {
readonly page: Page;
readonly addNewAddressButton: Locator;
readonly editBillingAddressButton: Locator;
readonly editShippingAddressButton: Locator;
readonly useDefaultBillingAddressButton: Locator;
readonly useDefaultShippingAddressButton: Locator;
constructor(page: Page);
goTo(): Promise<void>;
}
declare class AccountPayment implements PageObject {
readonly page: Page;
readonly cashOnDeliveryOption: Locator;
readonly paidInAdvanceOption: Locator;
readonly invoiceOption: Locator;
readonly changeDefaultPaymentButton: Locator;
constructor(page: Page);
goTo(): Promise<void>;
}
declare class Search implements PageObject {

@@ -286,2 +342,3 @@ readonly page: Page;

StorefrontProductDetail: ProductDetail$1;
StorefrontCategory: Category;
StorefrontCheckoutCart: CheckoutCart;

@@ -293,3 +350,6 @@ StorefrontCheckoutConfirm: CheckoutConfirm;

StorefrontAccountLogin: AccountLogin;
StorefrontAccountProfile: AccountProfile;
StorefrontAccountOrder: AccountOrder;
StorefrontAccountAddresses: AccountAddresses;
StorefrontAccountPayment: AccountPayment;
StorefrontSearch: Search;

@@ -301,2 +361,3 @@ StorefrontSearchSuggest: SearchSuggest;

ProductDetail: typeof ProductDetail$1;
Category: typeof Category;
CheckoutCart: typeof CheckoutCart;

@@ -308,3 +369,6 @@ CheckoutConfirm: typeof CheckoutConfirm;

AccountLogin: typeof AccountLogin;
AccountProfile: typeof AccountProfile;
AccountOrder: typeof AccountOrder;
AccountAddresses: typeof AccountAddresses;
AccountPayment: typeof AccountPayment;
Search: typeof Search;

@@ -463,2 +527,3 @@ SearchSuggest: typeof SearchSuggest;

ProductData: components['schemas']['Product'];
CategoryData: components['schemas']['Category'];
DigitalProductData: {

@@ -465,0 +530,0 @@ product: components['schemas']['Product'];

2

package.json
{
"name": "@shopware-ag/acceptance-test-suite",
"version": "1.1.4",
"version": "1.2.0",
"description": "Shopware Acceptance Test Suite",

@@ -5,0 +5,0 @@ "author": "shopware AG",

@@ -0,4 +1,19 @@

[![NPM Version](https://img.shields.io/npm/v/%40shopware-ag%2Facceptance-test-suite)](https://www.npmjs.com/package/@shopware-ag/acceptance-test-suite)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)
[![License](https://img.shields.io/github/license/shopware/acceptance-test-suite.svg)](https://github.com/shopware/acceptance-test-suite/blob/trunk/LICENSE)
# Shopware Acceptance Test Suite
This test suite is an extension to [Playwright](https://playwright.dev/) to easily create end-to-end and API acceptance tests for [Shopware](https://github.com/shopware/shopware). It provides several useful Playwright [fixtures](https://playwright.dev/docs/test-fixtures) to start testing with Shopware right away, including page contexts and [page objects](https://playwright.dev/docs/pom) for Storefront and Administration, API clients, test data creation and reusable test logic.
## Table of contents
* [Installation](#installation)
* [Configuration](#configuration)
* [Usage](#usage)
* [General Fixtures](#general-fixtures)
* [Page Objects](#page-objects)
* [Actor Pattern](#actor-pattern)
* [Data Fixtures](#data-fixtures)
* [Code Contribution](#code-contribution)
## Installation

@@ -357,2 +372,7 @@ Start by creating your own [Playwright](https://playwright.dev/docs/intro) project.

If you create your own data fixtures make sure to import and merge them in your base test file with other fixtures you created.
If you create your own data fixtures make sure to import and merge them in your base test file with other fixtures you created.
## Code Contribution
You can contribute to this project via its [official repository](https://github.com/shopware/acceptance-test-suite/) on GitHub.
This project uses [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/). Please make sure to form your commits accordingly to the spec.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc