diff --git a/.github/workflows/b2b-marketplace-regression-api-dms-off.yml b/.github/workflows/b2b-marketplace-regression-api-dms-off.yml index ea42234a9..b40d08a82 100644 --- a/.github/workflows/b2b-marketplace-regression-api-dms-off.yml +++ b/.github/workflows/b2b-marketplace-regression-api-dms-off.yml @@ -43,7 +43,7 @@ jobs: sudo chmod +x /usr/local/bin/docker-compose - name: Install Robot tests run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch bugfix/frw-9023-wrong-available-locales-expander robotframework-tests + git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch master robotframework-tests - name: Install Project continue-on-error: false run: | diff --git a/.github/workflows/b2b-marketplace-regression-api-dms-on.yml b/.github/workflows/b2b-marketplace-regression-api-dms-on.yml index 56121d475..06bbe2860 100644 --- a/.github/workflows/b2b-marketplace-regression-api-dms-on.yml +++ b/.github/workflows/b2b-marketplace-regression-api-dms-on.yml @@ -43,7 +43,7 @@ jobs: sudo chmod +x /usr/local/bin/docker-compose - name: Install Robot tests run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch bugfix/frw-9023-wrong-available-locales-expander robotframework-tests + git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch master robotframework-tests - name: Install Project continue-on-error: false run: | @@ -61,13 +61,13 @@ jobs: continue-on-error: true run: | cd robotframework-tests - robot -v env:api_mp_b2b -v dms:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring -s '*'.tests.api.mp_b2b . + robot -v env:api_mp_b2b -v dms:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring -s '*'.tests.api.mp_b2b . touch results/time.txt && echo $(date) > results/time.txt - name: Rerun Failed Tests if: steps.run_tests.outcome != 'success' run: | cd robotframework-tests - robot -v env:api_mp_b2b -v dms:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.api.mp_b2b . + robot -v env:api_mp_b2b -v dms:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.api.mp_b2b . - name: Merge Test Results if: always() && steps.run_tests.outcome != 'success' run: | diff --git a/.github/workflows/b2b-marketplace-regression-ui-dms-on.yml b/.github/workflows/b2b-marketplace-regression-ui-dms-on.yml index d7f120e87..0f53635d4 100644 --- a/.github/workflows/b2b-marketplace-regression-ui-dms-on.yml +++ b/.github/workflows/b2b-marketplace-regression-ui-dms-on.yml @@ -63,13 +63,13 @@ jobs: run: | cd robotframework-tests rfbrowser init chromium - robot -v env:ui_mp_b2b -v dms:true -v headless:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_root_env:http://mp.eu.spryker.local/ -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.mp_b2b . + robot -v env:ui_mp_b2b -v dms:true -v headless:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.mp_b2b . touch results/time.txt && echo $(date) > results/time.txt - name: Rerun Failed Tests if: steps.run_tests.outcome != 'success' run: | cd robotframework-tests - robot -v env:ui_mp_b2b -v dms:true -v headless:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_root_env:http://mp.eu.spryker.local/ -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.mp_b2b . + robot -v env:ui_mp_b2b -v dms:true -v headless:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.mp_b2b . - name: Merge Test Results if: always() && steps.run_tests.outcome != 'success' run: | diff --git a/.github/workflows/b2b-regression-api-dms-off.yml b/.github/workflows/b2b-regression-api-dms-off.yml index cd35f27e9..c89d90ab8 100644 --- a/.github/workflows/b2b-regression-api-dms-off.yml +++ b/.github/workflows/b2b-regression-api-dms-off.yml @@ -43,7 +43,7 @@ jobs: sudo chmod +x /usr/local/bin/docker-compose - name: Install Robot tests run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch bugfix/frw-9023-wrong-available-locales-expander robotframework-tests + git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch master robotframework-tests - name: Install Project continue-on-error: false run: | diff --git a/.github/workflows/b2b-regression-api-dms-on.yml b/.github/workflows/b2b-regression-api-dms-on.yml index a5dce1538..a4c8c53e6 100644 --- a/.github/workflows/b2b-regression-api-dms-on.yml +++ b/.github/workflows/b2b-regression-api-dms-on.yml @@ -43,7 +43,7 @@ jobs: sudo chmod +x /usr/local/bin/docker-compose - name: Install Robot tests run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch bugfix/frw-9023-wrong-available-locales-expander robotframework-tests + git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch master robotframework-tests - name: Install Project continue-on-error: false run: | @@ -61,13 +61,13 @@ jobs: continue-on-error: true run: | cd robotframework-tests - robot -v env:api_b2b -v dms:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring -s '*'.tests.api.b2b . + robot -v env:api_b2b -v dms:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring -s '*'.tests.api.b2b . touch results/time.txt && echo $(date) > results/time.txt - name: Rerun Failed Tests if: steps.run_tests.outcome != 'success' run: | cd robotframework-tests - robot -v env:api_b2b -v dms:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.api.b2b . + robot -v env:api_b2b -v dms:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.api.b2b . - name: Merge Test Results if: always() && steps.run_tests.outcome != 'success' run: | diff --git a/.github/workflows/b2b-regression-ui-dms-on.yml b/.github/workflows/b2b-regression-ui-dms-on.yml index b4874969e..4b2dfb351 100644 --- a/.github/workflows/b2b-regression-ui-dms-on.yml +++ b/.github/workflows/b2b-regression-ui-dms-on.yml @@ -63,13 +63,13 @@ jobs: run: | cd robotframework-tests rfbrowser init chromium - robot -v env:ui_b2b -v dms:true -v headless:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.b2b . + robot -v env:ui_b2b -v dms:true -v headless:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.b2b . touch results/time.txt && echo $(date) > results/time.txt - name: Rerun Failed Tests if: steps.run_tests.outcome != 'success' run: | cd robotframework-tests - robot -v env:ui_b2b -v dms:true -v headless:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.b2b . + robot -v env:ui_b2b -v dms:true -v headless:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.b2b . - name: Merge Test Results if: always() && steps.run_tests.outcome != 'success' run: | diff --git a/.github/workflows/b2c-marketplace-regression-api-dms-off.yml b/.github/workflows/b2c-marketplace-regression-api-dms-off.yml index cd9bad831..581144691 100644 --- a/.github/workflows/b2c-marketplace-regression-api-dms-off.yml +++ b/.github/workflows/b2c-marketplace-regression-api-dms-off.yml @@ -43,7 +43,7 @@ jobs: sudo chmod +x /usr/local/bin/docker-compose - name: Install Robot tests run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch bugfix/frw-9023-wrong-available-locales-expander robotframework-tests + git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch master robotframework-tests - name: Install Project continue-on-error: false run: | diff --git a/.github/workflows/b2c-marketplace-regression-api-dms-on.yml b/.github/workflows/b2c-marketplace-regression-api-dms-on.yml index a5f3f5b8d..aba209996 100644 --- a/.github/workflows/b2c-marketplace-regression-api-dms-on.yml +++ b/.github/workflows/b2c-marketplace-regression-api-dms-on.yml @@ -43,7 +43,7 @@ jobs: sudo chmod +x /usr/local/bin/docker-compose - name: Install Robot tests run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch bugfix/frw-9023-wrong-available-locales-expander robotframework-tests + git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch master robotframework-tests - name: Install Project continue-on-error: false run: | @@ -61,13 +61,13 @@ jobs: continue-on-error: true run: | cd robotframework-tests - robot -v env:api_mp_b2c -v dms:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring -s '*'.tests.api.mp_b2c . + robot -v env:api_mp_b2c -v dms:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring -s '*'.tests.api.mp_b2c . touch results/time.txt && echo $(date) > results/time.txt - name: Rerun Failed Tests if: steps.run_tests.outcome != 'success' run: | cd robotframework-tests - robot -v env:api_mp_b2c -v dms:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.api.mp_b2c . + robot -v env:api_mp_b2c -v dms:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.api.mp_b2c . - name: Merge Test Results if: always() && steps.run_tests.outcome != 'success' run: | diff --git a/.github/workflows/b2c-marketplace-regression-ui-dms-on.yml b/.github/workflows/b2c-marketplace-regression-ui-dms-on.yml index 5594f682f..3aeb176c7 100644 --- a/.github/workflows/b2c-marketplace-regression-ui-dms-on.yml +++ b/.github/workflows/b2c-marketplace-regression-ui-dms-on.yml @@ -63,13 +63,13 @@ jobs: run: | cd robotframework-tests rfbrowser init chromium - robot -v env:ui_mp_b2c -v dms:true -v headless:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_root_env:http://mp.eu.spryker.local/ -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.mp_b2c . + robot -v env:ui_mp_b2c -v dms:true -v headless:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.mp_b2c . touch results/time.txt && echo $(date) > results/time.txt - name: Rerun Failed Tests if: steps.run_tests.outcome != 'success' run: | cd robotframework-tests - robot -v env:ui_mp_b2c -v dms:true -v headless:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_root_env:http://mp.eu.spryker.local/ -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.mp_b2c . + robot -v env:ui_mp_b2c -v dms:true -v headless:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.mp_b2c . - name: Merge Test Results if: always() && steps.run_tests.outcome != 'success' run: | diff --git a/.github/workflows/b2c-regression-api-dms-off.yml b/.github/workflows/b2c-regression-api-dms-off.yml index d8bc73e1b..5a8723c01 100644 --- a/.github/workflows/b2c-regression-api-dms-off.yml +++ b/.github/workflows/b2c-regression-api-dms-off.yml @@ -43,7 +43,7 @@ jobs: sudo chmod +x /usr/local/bin/docker-compose - name: Install Robot tests run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch bugfix/frw-9023-wrong-available-locales-expander robotframework-tests + git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch master robotframework-tests - name: Install Project continue-on-error: false run: | diff --git a/.github/workflows/b2c-regression-api-dms-on.yml b/.github/workflows/b2c-regression-api-dms-on.yml index 9ee21fa3a..c846693ec 100644 --- a/.github/workflows/b2c-regression-api-dms-on.yml +++ b/.github/workflows/b2c-regression-api-dms-on.yml @@ -43,7 +43,7 @@ jobs: sudo chmod +x /usr/local/bin/docker-compose - name: Install Robot tests run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch bugfix/frw-9023-wrong-available-locales-expander robotframework-tests + git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch master robotframework-tests - name: Install Project continue-on-error: false run: | @@ -61,13 +61,13 @@ jobs: continue-on-error: true run: | cd robotframework-tests - robot -v env:api_b2c -v dms:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring -s '*'.tests.api.b2c . + robot -v env:api_b2c -v dms:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring -s '*'.tests.api.b2c . touch results/time.txt && echo $(date) > results/time.txt - name: Rerun Failed Tests if: steps.run_tests.outcome != 'success' run: | cd robotframework-tests - robot -v env:api_b2c -v dms:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.api.b2c . + robot -v env:api_b2c -v dms:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.api.b2c . - name: Merge Test Results if: always() && steps.run_tests.outcome != 'success' run: | diff --git a/.github/workflows/b2c-regression-ui-dms-on.yml b/.github/workflows/b2c-regression-ui-dms-on.yml index 647702b48..c9c2c825c 100644 --- a/.github/workflows/b2c-regression-ui-dms-on.yml +++ b/.github/workflows/b2c-regression-ui-dms-on.yml @@ -63,13 +63,13 @@ jobs: run: | cd robotframework-tests rfbrowser init chromium - robot -v env:ui_b2c -v dms:true -v headless:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.b2c . + robot -v env:ui_b2c -v dms:true -v headless:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.b2c . touch results/time.txt && echo $(date) > results/time.txt - name: Rerun Failed Tests if: steps.run_tests.outcome != 'success' run: | cd robotframework-tests - robot -v env:ui_b2c -v dms:true -v headless:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.b2c . + robot -v env:ui_b2c -v dms:true -v headless:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.b2c . - name: Merge Test Results if: always() && steps.run_tests.outcome != 'success' run: | diff --git a/.github/workflows/debug-b2b-mp-postgres-ui-dms-off.yml b/.github/workflows/debug-b2b-mp-postgres-ui-dms-off.yml deleted file mode 100644 index 5634e958e..000000000 --- a/.github/workflows/debug-b2b-mp-postgres-ui-dms-off.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: "[debug][b2b-mp][postgres][custom][UI][DMS-OFF]" - -on: - workflow_dispatch: - -jobs: - docker-alpine-php-8-2-mariadb-robot-ui: - name: "B2B-MP / PHP 8.3 / PostgreSQL / Robot / UI / DMS OFF" - runs-on: ubuntu-20.04 - env: - PROGRESS_TYPE: plain - SPRYKER_PLATFORM_IMAGE: spryker/php:8.2 - TRAVIS: 1 - ROBOT_TESTS_ARTIFACTS_BUCKET_REGION: eu-west-1 - steps: - - name: apt update - run: sudo apt update - - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - - name: Clone project (master) - run: | - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" - git clone -b master --single-branch https://github.com/spryker-shop/b2b-demo-marketplace.git . - - name: Install packages - run: | - sudo apt-get install apache2-utils - sudo apt install awscli -q - python3 -m pip install --upgrade pip - python3 -m pip install -U robotframework - python3 -m pip install -U robotframework-requests - python3 -m pip install -U robotframework-jsonlibrary - python3 -m pip install -U robotframework-databaselibrary - python3 -m pip install -U robotframework-browser - python3 -m pip install psycopg2 - sudo npx playwright install-deps - - name: Install docker-compose - run: | - sudo curl -L "https://github.com/docker/compose/releases/download/2.12.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose - sudo chmod +x /usr/local/bin/docker-compose - - name: Install Robot tests - run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch master robotframework-tests - - name: Install Project - continue-on-error: false - run: | - git clone https://github.com/spryker/docker-sdk.git ./docker - docker/sdk boot -v deploy.ci.acceptance.dynamic-store-off.yml - sudo bash -c "echo '127.0.0.1 backend-api.at.spryker.local backend-api.de.spryker.local glue-backend.de.spryker.local glue-backend.at.spryker.local glue-storefront.de.spryker.local glue-storefront.at.spryker.local backend-gateway.at.spryker.local backend-gateway.de.spryker.local backoffice.at.spryker.local backoffice.de.spryker.local date-time-configurator-example.spryker.local glue.at.spryker.local glue.de.spryker.local yves.at.spryker.local yves.de.spryker.local mp.de.spryker.local mail.spryker.local mp.at.spryker.local' >> /etc/hosts" - docker/sdk up -t -v - - name: Custom commands - continue-on-error: false - run: | - docker/sdk cli composer dump-autoload -o -a --apcu - APPLICATION_STORE=DE docker/sdk console queue:worker:start --stop-when-empty - APPLICATION_STORE=AT docker/sdk console queue:worker:start --stop-when-empty - - name: Run Tests - id: run_tests - continue-on-error: true - run: | - cd robotframework-tests - rfbrowser init chromium - robot -v env:ui_mp_b2b -v db_engine:psycopg2 -v headless:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.mp_b2b . - touch results/time.txt && echo $(date) > results/time.txt - - name: Rerun Failed Tests - if: steps.run_tests.outcome != 'success' - run: | - cd robotframework-tests - robot -v env:ui_mp_b2b -v db_engine:psycopg2 -v headless:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.mp_b2b . - - name: Merge Test Results - if: always() && steps.run_tests.outcome != 'success' - run: | - cd robotframework-tests - rebot -d results --merge results/output.xml results/rerun/rerun.xml - - name: Upload artifacts - if: failure() - run: | - AWS_DEFAULT_REGION=${{env.ROBOT_TESTS_ARTIFACTS_BUCKET_REGION}} AWS_ACCESS_KEY_ID=${{ secrets.ROBOT_TESTS_ARTIFACTS_KEY }} AWS_SECRET_ACCESS_KEY=${{ secrets.ROBOT_TESTS_ARTIFACTS_SECRET }} aws s3 cp robotframework-tests/results s3://${{vars.ROBOT_TESTS_ARTIFACTS_BUCKET}}/debug/ui-b2b_mp-dms-off/${GITHUB_RUN_ID}/PHP8.3PostreSQL/ \ - --recursive \ - --expires "$(date -d '+4 days' --utc +'%Y-%m-%dT%H:%M:%SZ')" diff --git a/.github/workflows/dev-b2c-mp-ui-dms-off.yml b/.github/workflows/dev-b2c-mp-ui-dms-off.yml deleted file mode 100644 index abe061984..000000000 --- a/.github/workflows/dev-b2c-mp-ui-dms-off.yml +++ /dev/null @@ -1,82 +0,0 @@ -name: "[dev][b2c-mp][master][UI][DMS-OFF]" - -on: - workflow_dispatch: - -jobs: - docker-alpine-php-8-2-mariadb-robot-ui: - name: "Docker / Alpine / PHP 8.2 / MariaDB / Robot / UI / DMS OFF" - runs-on: ubuntu-20.04 - env: - PROGRESS_TYPE: plain - SPRYKER_PLATFORM_IMAGE: spryker/php:8.2 - TRAVIS: 1 - ROBOT_TESTS_ARTIFACTS_BUCKET_REGION: eu-west-1 - steps: - - name: apt update - run: sudo apt update - - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - - name: Clone project (master) - run: | - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" - git clone -b master --single-branch https://github.com/spryker-shop/b2c-demo-marketplace.git . - - name: Install packages - run: | - sudo apt-get install apache2-utils - sudo apt install awscli -q - python3 -m pip install --upgrade pip - python3 -m pip install -U robotframework - python3 -m pip install -U robotframework-requests - python3 -m pip install -U robotframework-jsonlibrary - python3 -m pip install -U robotframework-databaselibrary - python3 -m pip install -U robotframework-browser - python3 -m pip install PyMySQL - - name: Install docker-compose - run: | - sudo curl -L "https://github.com/docker/compose/releases/download/2.12.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose - sudo chmod +x /usr/local/bin/docker-compose - - name: Install Robot tests - run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch dev robotframework-tests - - name: Install Project - continue-on-error: false - run: | - git clone https://github.com/spryker/docker-sdk.git ./docker - docker/sdk boot -v deploy.ci.acceptance.mariadb.robot.yml - sudo bash -c "echo '127.0.0.1 backend-api.at.spryker.local backend-api.de.spryker.local glue-backend.de.spryker.local glue-backend.at.spryker.local glue-storefront.de.spryker.local glue-storefront.at.spryker.local backend-gateway.at.spryker.local backend-gateway.de.spryker.local backoffice.at.spryker.local backoffice.de.spryker.local date-time-configurator-example.spryker.local glue.at.spryker.local glue.de.spryker.local yves.at.spryker.local yves.de.spryker.local mp.de.spryker.local mail.spryker.local mp.at.spryker.local' >> /etc/hosts" - docker/sdk up -t -v - - name: Custom commands - continue-on-error: false - run: | - docker/sdk cli composer dump-autoload -o -a --apcu - APPLICATION_STORE=DE docker/sdk console queue:worker:start --stop-when-empty - APPLICATION_STORE=AT docker/sdk console queue:worker:start --stop-when-empty - - name: Run Tests - id: run_tests - continue-on-error: true - run: | - cd robotframework-tests - rfbrowser init chromium - robot -v env:ui_mp_b2c -v headless:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.mp_b2c . - touch results/time.txt && echo $(date) > results/time.txt - - name: Rerun Failed Tests - if: steps.run_tests.outcome != 'success' - run: | - cd robotframework-tests - robot -v env:ui_mp_b2c -v headless:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.mp_b2c . - - name: Merge Test Results - if: always() && steps.run_tests.outcome != 'success' - run: | - cd robotframework-tests - rebot -d results --merge results/output.xml results/rerun/rerun.xml - - name: Upload artifacts - if: failure() - run: | - AWS_DEFAULT_REGION=${{env.ROBOT_TESTS_ARTIFACTS_BUCKET_REGION}} AWS_ACCESS_KEY_ID=${{ secrets.ROBOT_TESTS_ARTIFACTS_KEY }} AWS_SECRET_ACCESS_KEY=${{ secrets.ROBOT_TESTS_ARTIFACTS_SECRET }} aws s3 cp robotframework-tests/results s3://${{vars.ROBOT_TESTS_ARTIFACTS_BUCKET}}/night-robot-ui-ci/b2c_mp_regression-dms-off/${GITHUB_RUN_ID}/PHP8.2MariaDBRobotUi/ \ - --recursive \ - --expires "$(date -d '+4 days' --utc +'%Y-%m-%dT%H:%M:%SZ')" diff --git a/.github/workflows/dev-b2c-mp-ui-dms-on.yml b/.github/workflows/dev-b2c-mp-ui-dms-on.yml deleted file mode 100644 index 338a41ac9..000000000 --- a/.github/workflows/dev-b2c-mp-ui-dms-on.yml +++ /dev/null @@ -1,81 +0,0 @@ -name: "[dev][b2c-mp][master][UI][DMS-ON]" - -on: - workflow_dispatch: - -jobs: - docker-alpine-php-8-2-mariadb-robot-ui: - name: "Docker / Alpine / PHP 8.2 / MariaDB / Robot / UI / DMS ON" - runs-on: ubuntu-20.04 - env: - PROGRESS_TYPE: plain - SPRYKER_PLATFORM_IMAGE: spryker/php:8.2 - TRAVIS: 1 - ROBOT_TESTS_ARTIFACTS_BUCKET_REGION: eu-west-1 - steps: - - name: apt update - run: sudo apt update - - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - - name: Clone project (master) - run: | - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" - git clone -b master --single-branch https://github.com/spryker-shop/b2c-demo-marketplace.git . - - name: Install packages - run: | - sudo apt-get install apache2-utils - sudo apt install awscli -q - python3 -m pip install --upgrade pip - python3 -m pip install -U robotframework - python3 -m pip install -U robotframework-requests - python3 -m pip install -U robotframework-jsonlibrary - python3 -m pip install -U robotframework-databaselibrary - python3 -m pip install -U robotframework-browser - python3 -m pip install PyMySQL - - name: Install docker-compose - run: | - sudo curl -L "https://github.com/docker/compose/releases/download/2.12.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose - sudo chmod +x /usr/local/bin/docker-compose - - name: Install Robot tests - run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch dev robotframework-tests - - name: Install Project - continue-on-error: false - run: | - git clone https://github.com/spryker/docker-sdk.git ./docker - docker/sdk boot -v deploy.ci.acceptance.mariadb.dynamic-store.robot.yml - sudo bash -c "echo '127.0.0.1 backend-api.eu.spryker.local backend-api.us.spryker.local backend-gateway.eu.spryker.local backend-gateway.us.spryker.local backoffice.eu.spryker.local backoffice.us.spryker.local glue-backend.eu.spryker.local glue-backend.us.spryker.local glue-storefront.eu.spryker.local glue-storefront.us.spryker.local glue.eu.spryker.local glue.us.spryker.local mail.spryker.local mp.eu.spryker.local mp.us.spryker.local queue.spryker.local scheduler.spryker.local spryker.local swagger.spryker.local yves.eu.spryker.local yves.us.spryker.local date-time-configurator-example.spryker.local' >> /etc/hosts" - docker/sdk up -t -v - - name: Custom commands - continue-on-error: false - run: | - docker/sdk cli composer dump-autoload -o -a --apcu - SPRYKER_CURRENT_REGION=EU docker/sdk console queue:worker:start --stop-when-empty - - name: Run Tests - id: run_tests - continue-on-error: true - run: | - cd robotframework-tests - rfbrowser init chromium - robot -v env:ui_mp_b2c -v dms:true -v headless:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_root_env:http://mp.eu.spryker.local/ -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.mp_b2c . - touch results/time.txt && echo $(date) > results/time.txt - - name: Rerun Failed Tests - if: steps.run_tests.outcome != 'success' - run: | - cd robotframework-tests - robot -v env:ui_mp_b2c -v dms:true -v headless:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_root_env:http://mp.eu.spryker.local/ -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.mp_b2c . - - name: Merge Test Results - if: always() && steps.run_tests.outcome != 'success' - run: | - cd robotframework-tests - rebot -d results --merge results/output.xml results/rerun/rerun.xml - - name: Upload artifacts - if: failure() - run: | - AWS_DEFAULT_REGION=${{env.ROBOT_TESTS_ARTIFACTS_BUCKET_REGION}} AWS_ACCESS_KEY_ID=${{ secrets.ROBOT_TESTS_ARTIFACTS_KEY }} AWS_SECRET_ACCESS_KEY=${{ secrets.ROBOT_TESTS_ARTIFACTS_SECRET }} aws s3 cp robotframework-tests/results s3://${{vars.ROBOT_TESTS_ARTIFACTS_BUCKET}}/night-robot-ui-ci/mp_b2c_regression-dms-on/${GITHUB_RUN_ID}/PHP8.2MariaDBRobotUi/ \ - --recursive \ - --expires "$(date -d '+4 days' --utc +'%Y-%m-%dT%H:%M:%SZ')" diff --git a/.github/workflows/suite-regression-api-dms-off.yml b/.github/workflows/suite-regression-api-dms-off.yml index 4938f5099..21d807fa1 100644 --- a/.github/workflows/suite-regression-api-dms-off.yml +++ b/.github/workflows/suite-regression-api-dms-off.yml @@ -43,7 +43,7 @@ jobs: sudo chmod +x /usr/local/bin/docker-compose - name: Install Robot tests run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch bugfix/frw-9023-wrong-available-locales-expander robotframework-tests + git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch master robotframework-tests - name: Install Project continue-on-error: false run: | diff --git a/.github/workflows/suite-regression-api-dms-on.yml b/.github/workflows/suite-regression-api-dms-on.yml index 514f4ec9e..ead3a6193 100644 --- a/.github/workflows/suite-regression-api-dms-on.yml +++ b/.github/workflows/suite-regression-api-dms-on.yml @@ -43,7 +43,7 @@ jobs: sudo chmod +x /usr/local/bin/docker-compose - name: Install Robot tests run: | - git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch bugfix/frw-9023-wrong-available-locales-expander robotframework-tests + git clone https://github.com/spryker/robotframework-suite-tests.git --single-branch --branch master robotframework-tests - name: Install Project continue-on-error: false run: | @@ -61,13 +61,13 @@ jobs: continue-on-error: true run: | cd robotframework-tests - robot -v env:api_suite -v dms:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_root_env:http://mp.eu.spryker.local/ -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring -s '*'.tests.api.suite . + robot -v env:api_suite -v dms:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring -s '*'.tests.api.suite . touch results/time.txt && echo $(date) > results/time.txt - name: Rerun Failed Tests if: steps.run_tests.outcome != 'success' run: | cd robotframework-tests - robot -v env:api_suite -v dms:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_root_env:http://mp.eu.spryker.local/ -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.api.suite . + robot -v env:api_suite -v dms:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.api.suite . - name: Merge Test Results if: always() && steps.run_tests.outcome != 'success' run: | diff --git a/.github/workflows/suite-regression-ui-dms-on.yml b/.github/workflows/suite-regression-ui-dms-on.yml index 31b4f5d8a..ef8d802ff 100644 --- a/.github/workflows/suite-regression-ui-dms-on.yml +++ b/.github/workflows/suite-regression-ui-dms-on.yml @@ -63,13 +63,13 @@ jobs: run: | cd robotframework-tests rfbrowser init chromium - robot -v env:ui_suite -v dms:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_root_env:http://mp.eu.spryker.local/ -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v headless:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.suite . + robot -v env:ui_suite -v dms:true -v headless:true -v ignore_console:false -d results --exclude skip-due-to-issueORskip-due-to-refactoring --include group_oneORgroup_twoORgroup_tree -s '*'.tests.ui.suite . touch results/time.txt && echo $(date) > results/time.txt - name: Rerun Failed Tests if: steps.run_tests.outcome != 'success' run: | cd robotframework-tests - robot -v env:ui_suite -v dms:true -v glue_env:http://glue.eu.spryker.local -v bapi_env:http://glue-backend.eu.spryker.local -v sapi_env:http://glue-storefront.eu.spryker.local -v yves_env:http://yves.eu.spryker.local -v zed_env:http://backoffice.eu.spryker.local -v mp_root_env:http://mp.eu.spryker.local/ -v mp_env:http://mp.eu.spryker.local/security-merchant-portal-gui/login/ -v headless:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.suite . + robot -v env:ui_suite -v dms:true -v headless:true -v ignore_console:false -d results/rerun --runemptysuite --rerunfailed results/output.xml --output rerun.xml -s '*'.tests.ui.suite . - name: Merge Test Results if: always() && steps.run_tests.outcome != 'success' run: | diff --git a/resources/common/common_api.robot b/resources/common/common_api.robot index aaf5da5f0..b12779ac5 100644 --- a/resources/common/common_api.robot +++ b/resources/common/common_api.robot @@ -37,7 +37,11 @@ Overwrite api variables IF '${tag}' == 'dms-on' CONTINUE IF '${glue_env}' == '${EMPTY}' IF '${tag}' == 'glue' - Set Suite Variable ${current_url} ${glue_url} + IF ${dms} + Set Suite Variable ${current_url} ${glue_dms_url} + ELSE + Set Suite Variable ${current_url} ${glue_url} + END Set Suite Variable ${tag} glue END ELSE @@ -48,7 +52,11 @@ Overwrite api variables END IF '${bapi_env}' == '${EMPTY}' IF '${tag}'=='bapi' - Set Suite Variable ${current_url} ${bapi_url} + IF ${dms} + Set Suite Variable ${current_url} ${bapi_dms_url} + ELSE + Set Suite Variable ${current_url} ${bapi_url} + END Set Suite Variable ${tag} bapi END ELSE @@ -59,7 +67,11 @@ Overwrite api variables END IF '${sapi_env}' == '${EMPTY}' IF '${tag}' == 'sapi' - Set Suite Variable ${current_url} ${sapi_url} + IF ${dms} + Set Suite Variable ${current_url} ${sapi_dms_url} + ELSE + Set Suite Variable ${current_url} ${sapi_url} + END Set Suite Variable ${tag} sapi END ELSE @@ -79,6 +91,10 @@ Overwrite api variables END END +Setup_api_host_if_undefined + ${api_host_is_undefined}= Run Keyword And Return Status Variable Should Not Exist ${current_url} + IF ${api_host_is_undefined} Overwrite api variables + API_test_setup [Documentation] This setup should be called in Settings of every test suite. It defines which url variable will be used in the test suite. ... @@ -142,6 +158,7 @@ I get access token for the customer: ... ... ``I get access token for the customer: ${yves_user.email}`` [Arguments] ${email} ${password}=${default_password} + Setup_api_host_if_undefined ${headers_not_empty} Run Keyword and return status Should not be empty ${headers} ${data}= Evaluate {"data":{"type":"access-tokens","attributes":{"username":"${email}","password":"${password}"}}} ${response}= IF ${headers_not_empty} run keyword POST ${current_url}/access-tokens json=${data} headers=${headers} verify=${verify_ssl} @@ -175,6 +192,7 @@ I get access token for the company user by uuid: ... ... ``I get access token for the company user by uuid: ${company_user_uuid}`` [Arguments] ${company_user_uuid} + Setup_api_host_if_undefined ${headers_not_empty} Run Keyword and return status Should not be empty ${headers} ${data}= Evaluate {"data":{"type":"company-user-access-tokens","attributes":{"idCompanyUser":"${company_user_uuid}"}}} ${response}= IF ${headers_not_empty} run keyword POST ${current_url}/company-user-access-tokens json=${data} headers=${headers} verify=${verify_ssl} @@ -210,6 +228,7 @@ I send a POST request: ... ... ``I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}}`` [Arguments] ${path} ${json} ${timeout}=${api_timeout} ${allow_redirects}=${default_allow_redirects} ${auth}=${default_auth} ${expected_status}=ANY + Setup_api_host_if_undefined ${data}= Evaluate ${json} ${headers_not_empty} Run Keyword and return status Should not be empty ${headers} ${response}= IF ${headers_not_empty} run keyword POST ${current_url}${path} json=${data} headers=${headers} timeout=${timeout} allow_redirects=${allow_redirects} auth=${auth} expected_status=${expected_status} verify=${verify_ssl} @@ -245,6 +264,7 @@ I send a POST request with data: ... ... ``I send a POST request: /agent-access-tokens This is plain text body`` [Arguments] ${path} ${data} ${timeout}=${api_timeout} ${allow_redirects}=${default_allow_redirects} ${auth}=${default_auth} ${expected_status}=ANY + Setup_api_host_if_undefined ${data}= Evaluate ${data} ${headers_not_empty} Run Keyword and return status Should not be empty ${headers} ${response}= IF ${headers_not_empty} run keyword POST ${current_url}${path} data=${data} headers=${headers} timeout=${timeout} allow_redirects=${allow_redirects} auth=${auth} expected_status=${expected_status} verify=${verify_ssl} @@ -280,6 +300,7 @@ I send a PUT request: ... ... ``I send a PUT request: /some-endpoint/${someID} {"data": {"type": "some-type"}}`` [Arguments] ${path} ${json} ${timeout}=${api_timeout} ${allow_redirects}=${default_allow_redirects} ${auth}=${default_auth} ${expected_status}=ANY + Setup_api_host_if_undefined ${data}= Evaluate ${json} ${headers_not_empty} Run Keyword and return status Should not be empty ${headers} ${response}= IF ${headers_not_empty} run keyword PUT ${current_url}${path} json=${data} headers=${headers} timeout=${timeout} allow_redirects=${allow_redirects} auth=${auth} expected_status=${expected_status} verify=${verify_ssl} @@ -315,6 +336,7 @@ I send a PUT request with data: ... ... ``I send a PUT request: /some-endpoint/${someID} This is plain text body`` [Arguments] ${path} ${data} ${timeout}=${api_timeout} ${allow_redirects}=${default_allow_redirects} ${auth}=${default_auth} ${expected_status}=ANY + Setup_api_host_if_undefined ${data}= Evaluate ${data} ${headers_not_empty} Run Keyword and return status Should not be empty ${headers} ${response}= IF ${headers_not_empty} run keyword PUT ${current_url}${path} data=${data} headers=${headers} timeout=${timeout} allow_redirects=${allow_redirects} auth=${auth} expected_status=${expected_status} verify=${verify_ssl} @@ -355,6 +377,7 @@ I send a PATCH request: ... ``I send a PATCH request: /carts/${cartUID}/items/${itemUID} {"data": {"type": "items","attributes": {"quantity": 5}}}`` [Arguments] ${path} ${json} ${timeout}=${api_timeout} ${allow_redirects}=${default_allow_redirects} ${auth}=${default_auth} ${expected_status}=ANY + Setup_api_host_if_undefined ${data}= Evaluate ${json} ${headers_not_empty} Run Keyword and return status Should not be empty ${headers} ${response}= IF ${headers_not_empty} run keyword PATCH ${current_url}${path} json=${data} headers=${headers} timeout=${timeout} allow_redirects=${allow_redirects} auth=${auth} expected_status=${expected_status} verify=${verify_ssl} @@ -396,6 +419,7 @@ I send a PATCH request with data: ... ... ``I send a PATCH request: /some-endpoint/${someID} This is plain text body`` [Arguments] ${path} ${data} ${timeout}=${api_timeout} ${allow_redirects}=${default_allow_redirects} ${auth}=${default_auth} ${expected_status}=ANY + Setup_api_host_if_undefined ${data}= Evaluate ${data} ${headers_not_empty} Run Keyword and return status Should not be empty ${headers} ${response}= IF ${headers_not_empty} run keyword PATCH ${current_url}${path} data=${data} headers=${headers} timeout=${timeout} allow_redirects=${allow_redirects} auth=${auth} expected_status=${expected_status} verify=${verify_ssl} @@ -435,6 +459,7 @@ I send a GET request: ... ... ``I send a GET request: /abstract-products/${abstract_sku}`` [Arguments] ${path} ${timeout}=${api_timeout} ${allow_redirects}=${default_allow_redirects} ${auth}=${default_auth} ${expected_status}=ANY + Setup_api_host_if_undefined ${headers_not_empty} Run Keyword and return status Should not be empty ${headers} ${response}= IF ${headers_not_empty} run keyword GET ${current_url}${path} headers=${headers} timeout=${timeout} allow_redirects=${allow_redirects} auth=${auth} expected_status=${expected_status} verify=${verify_ssl} ... ELSE GET ${current_url}${path} timeout=${timeout} allow_redirects=${allow_redirects} auth=${auth} expected_status=${expected_status} verify=${verify_ssl} @@ -476,6 +501,7 @@ I send a DELETE request: ... ... ``I send a DELETE request: /customers/${customer_reference}/addresses/addressUID`` [Arguments] ${path} ${timeout}=${api_timeout} ${allow_redirects}=${default_allow_redirects} ${auth}=${default_auth} ${expected_status}=ANY + Setup_api_host_if_undefined ${headers_not_empty} Run Keyword and return status Should not be empty ${headers} ${response}= IF ${headers_not_empty} run keyword DELETE ${current_url}${path} headers=${headers} timeout=${timeout} allow_redirects=${allow_redirects} auth=${auth} expected_status=${expected_status} verify=${verify_ssl} ... ELSE DELETE ${current_url}${path} timeout=${timeout} allow_redirects=${allow_redirects} auth=${auth} expected_status=${expected_status} verify=${verify_ssl} @@ -741,7 +767,7 @@ Response body has correct self link ${actual_self_link}= Replace String ${actual_self_link} [ ${EMPTY} ${actual_self_link}= Replace String ${actual_self_link} ] ${EMPTY} ${actual_self_link}= Replace String ${actual_self_link} ' ${EMPTY} - Should Be Equal ${actual_self_link} ${expected_self_link} Expected self link: '${expected_self_link}' does not match: '${actual_self_link}'. + Should Be Equal ${actual_self_link} ${expected_self_link} Expected self link: '${expected_self_link}' does not match actual link: '${actual_self_link}'. Response body has correct self link internal [Documentation] This keyword checks that the actual selflink retrieved from the test variable ``${response_body}`` matches the self link recorded into the ``${expected_self_link}`` test variable on endpoint call. @@ -755,7 +781,7 @@ Response body has correct self link internal ${actual_self_link}= Replace String ${actual_self_link} ] ${EMPTY} ${actual_self_link}= Replace String ${actual_self_link} ' ${EMPTY} Log ${response_body} - Should Be Equal ${actual_self_link} ${expected_self_link} Expected internal selft link: '${expected_self_link}' does not match the actual link: '${actual_self_link}'. + Should Be Equal ${actual_self_link} ${expected_self_link} Expected internal self link: '${expected_self_link}' does not match the actual link: '${actual_self_link}'. Response body has correct self link for created entity: [Documentation] This keyword checks that the actual selflink retrieved from the test variable ``${response_body}`` plus the UID of the entity that was created and matches the self link recorded into the ``${expected_self_link}`` test variable on endpoint call. @@ -1624,6 +1650,7 @@ Cleanup existing customer addresses: ... ... ``Cleanup existing customer addresses: ${yves_user.reference}`` [Arguments] ${customer_reference} + Setup_api_host_if_undefined ${response}= GET ${current_url}/customers/${customer_reference}/addresses headers=${headers} timeout=${api_timeout} allow_redirects=${default_allow_redirects} auth=${default_auth} expected_status=200 verify=${verify_ssl} IF ${response.status_code} != 204 TRY @@ -1671,6 +1698,7 @@ Find or create customer cart ... ... This keyword does not accept any arguments. Makes GET request in order to fetch cart for the customer or creates it otherwise. ... + Setup_api_host_if_undefined ${response}= GET ${current_url}/carts headers=${headers} timeout=${api_timeout} allow_redirects=${default_allow_redirects} auth=${default_auth} expected_status=200 verify=${verify_ssl} ${response.status_code}= Set Variable ${response.status_code} IF ${response.status_code} != 204 @@ -1749,7 +1777,6 @@ Get ETag header value from cart ... ... and it can be re-used by the keywords that follow this keyword in the test ... This keyword does not accept any arguments. This keyword is used for removing unused/unwanted (ex. W/"") characters from ETag header value. - ... ${response}= I send a GET request: /carts ${Etag}= Get Value From Json ${response_headers} [ETag] ${Etag}= Convert To String ${Etag} @@ -1788,6 +1815,7 @@ Cleanup all items in the cart: ... ... ``Cleanup items in the cart: ${cart_id}`` [Arguments] ${cart_id} + Setup_api_host_if_undefined ${response}= GET ${current_url}/carts/${cart_id} headers=${headers} timeout=${api_timeout} allow_redirects=${default_allow_redirects} auth=${default_auth} params=include=items,bundle-items expected_status=200 verify=${verify_ssl} ${response.status_code}= Set Variable ${response.status_code} IF ${response.status_code} != 204 @@ -1839,6 +1867,7 @@ Cleanup all customer carts I send a POST request: /carts {"data": {"type": "carts","attributes": {"priceMode": "${mode.gross}","currency": "${currency.eur.code}","store": "${store.de}","name": "dummyCart-${{random.randint(0, 100)}}${random}"}}} Save value to a variable: [data][id] cart_id END + Setup_api_host_if_undefined ${response}= GET ${current_url}/carts headers=${headers} timeout=${api_timeout} allow_redirects=${default_allow_redirects} auth=${default_auth} params=include=items,bundle-items expected_status=200 verify=${verify_ssl} ${response.status_code}= Set Variable ${response.status_code} IF ${response.status_code} != 204 @@ -1885,6 +1914,7 @@ Cleanup all items in the guest cart: ... ... ``Cleanup all items in the guest cart: ${cart_id}`` [Arguments] ${cart_id} + Setup_api_host_if_undefined ${response}= GET ${current_url}/guest-carts/${cart_id} headers=${headers} timeout=${api_timeout} allow_redirects=${default_allow_redirects} auth=${default_auth} params=include=guest-cart-items,bundle-items expected_status=200 verify=${verify_ssl} ${response.status_code}= Set Variable ${response.status_code} IF ${response.status_code} != 204 @@ -1922,6 +1952,7 @@ Cleanup all availability notifications: ... ... ``Cleanup all availability notifications in the guest cart: ${yves_user.reference}`` [Arguments] ${yves_user.reference} + Setup_api_host_if_undefined ${response}= GET ${current_url}/customers/${yves_user.reference}/availability-notifications headers=${headers} timeout=${api_timeout} allow_redirects=${default_allow_redirects} auth=${default_auth} expected_status=200 verify=${verify_ssl} ${response.status_code}= Set Variable ${response.status_code} IF ${response.status_code} != 204 @@ -2160,6 +2191,7 @@ Cleanup all existing shopping lists ... *Example:* ... ... ``Cleanup all existing shopping lists`` + Setup_api_host_if_undefined ${response}= GET ${current_url}/shopping-lists headers=${headers} timeout=${api_timeout} allow_redirects=${default_allow_redirects} auth=${default_auth} params=include=items,bundle-items expected_status=200 verify=${verify_ssl} ${response.status_code}= Set Variable ${response.status_code} IF ${response.status_code} != 204 diff --git a/resources/common/common_ui.robot b/resources/common/common_ui.robot index 75cf359b5..d7a628213 100644 --- a/resources/common/common_ui.robot +++ b/resources/common/common_ui.robot @@ -27,32 +27,56 @@ ${glue_env} *** Keywords *** Overwrite pyz variables IF '${yves_env}' == '${EMPTY}' + IF ${dms} + Set Suite Variable ${yves_url} ${yves_dms_url} + ELSE Set Suite Variable ${yves_url} ${yves_url} + END ELSE Set Suite Variable ${yves_url} ${yves_env} END IF '${yves_at_env}' == '${EMPTY}' + IF ${dms} + Set Suite Variable ${yves_at_url} ${yves_dms_url} + ELSE Set Suite Variable ${yves_at_url} ${yves_at_url} + END ELSE Set Suite Variable ${yves_at_url} ${yves_at_env} END IF '${zed_env}' == '${EMPTY}' + IF ${dms} + Set Suite Variable ${zed_url} ${zed_dms_url} + ELSE Set Suite Variable ${zed_url} ${zed_url} + END ELSE Set Suite Variable ${zed_url} ${zed_env} END IF '${mp_env}' == '${EMPTY}' + IF ${dms} + Set Suite Variable ${mp_url} ${mp_dms_url} + ELSE Set Suite Variable ${mp_url} ${mp_url} + END ELSE Set Suite Variable ${mp_url} ${mp_env} END IF '${mp_root_env}' == '${EMPTY}' + IF ${dms} + Set Suite Variable ${mp_root_url} ${mp_root_dms_url} + ELSE Set Suite Variable ${mp_root_url} ${mp_root_url} + END ELSE Set Suite Variable ${mp_root_url} ${mp_root_env} END IF '${glue_env}' == '${EMPTY}' + IF ${dms} + Set Suite Variable ${glue_url} ${glue_dms_url} + ELSE Set Suite Variable ${glue_url} ${glue_url} + END ELSE Set Suite Variable ${glue_url} ${glue_env} END diff --git a/resources/environments/environments_api_b2b.json b/resources/environments/environments_api_b2b.json index 43793afd8..e75c6ad2a 100644 --- a/resources/environments/environments_api_b2b.json +++ b/resources/environments/environments_api_b2b.json @@ -4,6 +4,11 @@ "glue_url":"http://glue.de.spryker.local", "bapi_url":"http://glue-backend.de.spryker.local", "sapi_url":"http://glue-storefront.de.spryker.local" + }, + "dms_env":{ + "glue_dms_url":"http://glue.eu.spryker.local", + "bapi_dms_url":"http://glue-backend.eu.spryker.local", + "sapi_dms_url":"http://glue-storefront.eu.spryker.local" }, "dataType": { "array": [] @@ -341,6 +346,11 @@ } }, "abstract":{ + "product_in_different_locales":{ + "sku":"M29455", + "description_de":"Alu-Datenentsorgungsbehälter", + "description_en":"Aluminum data disposal container" + }, "upselling_products_sku":"M29502", "special_product_abstract_sku":{ "with_multivariant":"M58035", diff --git a/resources/environments/environments_api_b2c.json b/resources/environments/environments_api_b2c.json index 52220632c..7e607f6e8 100755 --- a/resources/environments/environments_api_b2c.json +++ b/resources/environments/environments_api_b2c.json @@ -5,6 +5,11 @@ "bapi_url":"http://glue-backend.de.spryker.local", "sapi_url":"http://glue-storefront.de.spryker.local" }, + "dms_env":{ + "glue_dms_url":"http://glue.eu.spryker.local", + "bapi_dms_url":"http://glue-backend.eu.spryker.local", + "sapi_dms_url":"http://glue-storefront.eu.spryker.local" + }, "database":{ "db_host":"127.0.0.1", "db_port_env":"3306", @@ -361,6 +366,12 @@ "with_options":{ "sku":"012", "name":"Canon IXUS 165" + }, + "product_in_different_locales":{ + "sku":"001", + "name":"Canon IXUS 160", + "description_de":"Beeindruckende Aufnahmen", + "description_en":"Add a personal touch" } }, "concrete_product":{ diff --git a/resources/environments/environments_api_mp_b2b.json b/resources/environments/environments_api_mp_b2b.json index 10063e22e..fc3bf2c76 100644 --- a/resources/environments/environments_api_mp_b2b.json +++ b/resources/environments/environments_api_mp_b2b.json @@ -5,6 +5,11 @@ "bapi_url":"http://glue-backend.de.spryker.local", "sapi_url":"http://glue-storefront.de.spryker.local" }, + "dms_env":{ + "glue_dms_url":"http://glue.eu.spryker.local", + "bapi_dms_url":"http://glue-backend.eu.spryker.local", + "sapi_dms_url":"http://glue-storefront.eu.spryker.local" + }, "dataType": { "array": [] }, @@ -543,7 +548,12 @@ "concretes_3":"M29456", "concretes_name_3":"Gmöhling aluminum data removal container - Exterior - LxWxH 435 x 385 x 650 mm", "concretes_superattribute_3":"material" - } + }, + "product_in_different_locales":{ + "sku":"M29455", + "description_de":"Alu-Datenentsorgungsbehälter", + "description_en":"Aluminum data disposal container" + } }, "concrete_available_product_with_stock":"420566", "concrete_available_product_without_stock":"422780", diff --git a/resources/environments/environments_api_mp_b2c.json b/resources/environments/environments_api_mp_b2c.json index 4d9e44894..5f91110a5 100755 --- a/resources/environments/environments_api_mp_b2c.json +++ b/resources/environments/environments_api_mp_b2c.json @@ -5,6 +5,11 @@ "bapi_url":"http://glue-backend.de.spryker.local", "sapi_url":"http://glue-storefront.de.spryker.local" }, + "dms_env":{ + "glue_dms_url":"http://glue.eu.spryker.local", + "bapi_dms_url":"http://glue-backend.eu.spryker.local", + "sapi_dms_url":"http://glue-storefront.eu.spryker.local" + }, "database":{ "db_host":"127.0.0.1", "db_port_env":"3306", @@ -410,6 +415,12 @@ "product_with_options":{ "sku":"012", "name":"Canon IXUS 165" + }, + "product_in_different_locales":{ + "sku":"001", + "name":"Canon IXUS 160", + "description_de":"Beeindruckende Aufnahmen", + "description_en":"Add a personal touch" } }, "products_in_bundle":{ diff --git a/resources/environments/environments_api_suite.json b/resources/environments/environments_api_suite.json index 38d3bc705..1e2f98346 100644 --- a/resources/environments/environments_api_suite.json +++ b/resources/environments/environments_api_suite.json @@ -3,11 +3,12 @@ "env":{ "glue_url":"http://glue.de.spryker.local", "bapi_url":"http://glue-backend.de.spryker.local", - "sapi_url":"http://glue-storefront.de.spryker.local", - "yves_url":"http://yves.de.spryker.local/", - "zed_url":"http://backoffice.de.spryker.local/", - "yves_at_url":"http://yves.at.spryker.local/", - "mp_url":"http://mp.de.spryker.local/security-merchant-portal-gui/login/" + "sapi_url":"http://glue-storefront.de.spryker.local" + }, + "dms_env":{ + "glue_dms_url":"http://glue.eu.spryker.local", + "bapi_dms_url":"http://glue-backend.eu.spryker.local", + "sapi_dms_url":"http://glue-storefront.eu.spryker.local" }, "database":{ "db_host":"127.0.0.1", @@ -361,7 +362,9 @@ }, "product_with_label":{ "sku":"001", - "name":"Canon IXUS 160" + "name":"Canon IXUS 160", + "description_de":"Beeindruckende Aufnahmen", + "description_en":"Add a personal touch" }, "product_with_reviews":{ "sku":"093", diff --git a/resources/environments/environments_ui_b2b.json b/resources/environments/environments_ui_b2b.json index 39be7c821..ec6d365c1 100644 --- a/resources/environments/environments_ui_b2b.json +++ b/resources/environments/environments_ui_b2b.json @@ -9,6 +9,15 @@ "glue_url":"http://glue.de.spryker.local", "bapi_url":"http://glue-backend.de.spryker.local", "sapi_url":"http://glue-storefront.de.spryker.local" + }, + "dms_env":{ + "yves_dms_url":"http://yves.eu.spryker.local/", + "zed_dms_url":"http://backoffice.eu.spryker.local/", + "mp_dms_url":"http://mp.eu.spryker.local/security-merchant-portal-gui/login/", + "mp_root_dms_url":"http://mp.eu.spryker.local/", + "glue_dms_url":"http://glue.eu.spryker.local", + "bapi_dms_url":"http://glue-backend.eu.spryker.local", + "sapi_dms_url":"http://glue-storefront.eu.spryker.local" }, "database":{ "db_host":"127.0.0.1", diff --git a/resources/environments/environments_ui_b2c.json b/resources/environments/environments_ui_b2c.json index 42155ba86..29a99aa42 100644 --- a/resources/environments/environments_ui_b2c.json +++ b/resources/environments/environments_ui_b2c.json @@ -9,6 +9,15 @@ "glue_url":"http://glue.de.spryker.local", "bapi_url":"http://glue-backend.de.spryker.local", "sapi_url":"http://glue-storefront.de.spryker.local" + }, + "dms_env":{ + "yves_dms_url":"http://yves.eu.spryker.local/", + "zed_dms_url":"http://backoffice.eu.spryker.local/", + "mp_dms_url":"http://mp.eu.spryker.local/security-merchant-portal-gui/login/", + "mp_root_dms_url":"http://mp.eu.spryker.local/", + "glue_dms_url":"http://glue.eu.spryker.local", + "bapi_dms_url":"http://glue-backend.eu.spryker.local", + "sapi_dms_url":"http://glue-storefront.eu.spryker.local" }, "database":{ "db_host":"127.0.0.1", diff --git a/resources/environments/environments_ui_mp_b2b.json b/resources/environments/environments_ui_mp_b2b.json index af144b83d..424ab5728 100644 --- a/resources/environments/environments_ui_mp_b2b.json +++ b/resources/environments/environments_ui_mp_b2b.json @@ -10,6 +10,15 @@ "bapi_url":"http://glue-backend.de.spryker.local", "sapi_url":"http://glue-storefront.de.spryker.local" }, + "dms_env":{ + "yves_dms_url":"http://yves.eu.spryker.local/", + "zed_dms_url":"http://backoffice.eu.spryker.local/", + "mp_dms_url":"http://mp.eu.spryker.local/security-merchant-portal-gui/login/", + "mp_root_dms_url":"http://mp.eu.spryker.local/", + "glue_dms_url":"http://glue.eu.spryker.local", + "bapi_dms_url":"http://glue-backend.eu.spryker.local", + "sapi_dms_url":"http://glue-storefront.eu.spryker.local" + }, "database":{ "db_host":"127.0.0.1", "db_port_env":"3306", diff --git a/resources/environments/environments_ui_mp_b2c.json b/resources/environments/environments_ui_mp_b2c.json index 757e76c2f..219824c55 100644 --- a/resources/environments/environments_ui_mp_b2c.json +++ b/resources/environments/environments_ui_mp_b2c.json @@ -10,6 +10,15 @@ "bapi_url":"http://glue-backend.de.spryker.local", "sapi_url":"http://glue-storefront.de.spryker.local" }, + "dms_env":{ + "yves_dms_url":"http://yves.eu.spryker.local/", + "zed_dms_url":"http://backoffice.eu.spryker.local/", + "mp_dms_url":"http://mp.eu.spryker.local/security-merchant-portal-gui/login/", + "mp_root_dms_url":"http://mp.eu.spryker.local/", + "glue_dms_url":"http://glue.eu.spryker.local", + "bapi_dms_url":"http://glue-backend.eu.spryker.local", + "sapi_dms_url":"http://glue-storefront.eu.spryker.local" + }, "database":{ "db_host":"127.0.0.1", "db_port_env":"3306", diff --git a/resources/environments/environments_ui_suite.json b/resources/environments/environments_ui_suite.json index 1623e7303..ce0916f4e 100644 --- a/resources/environments/environments_ui_suite.json +++ b/resources/environments/environments_ui_suite.json @@ -10,6 +10,15 @@ "bapi_url":"http://glue-backend.de.spryker.local", "sapi_url":"http://glue-storefront.de.spryker.local" }, + "dms_env":{ + "yves_dms_url":"http://yves.eu.spryker.local/", + "zed_dms_url":"http://backoffice.eu.spryker.local/", + "mp_dms_url":"http://mp.eu.spryker.local/security-merchant-portal-gui/login/", + "mp_root_dms_url":"http://mp.eu.spryker.local/", + "glue_dms_url":"http://glue.eu.spryker.local", + "bapi_dms_url":"http://glue-backend.eu.spryker.local", + "sapi_dms_url":"http://glue-storefront.eu.spryker.local" +}, "database":{ "db_host":"127.0.0.1", "db_port_env":"3306", diff --git a/tests/api/b2b/bapi/dynamic_entity/complex/negative.robot b/tests/api/b2b/bapi/dynamic_entity/complex/negative.robot index 1975ce06e..6ee92c297 100644 --- a/tests/api/b2b/bapi/dynamic_entity/complex/negative.robot +++ b/tests/api/b2b/bapi/dynamic_entity/complex/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_product_abstract_collection_with_invalid_query_parameter: ### SETUP DYNAMIC ENTITY CONFIGURATION AND RELATION ### Delete dynamic entity configuration relation in Database: robotTestsCategories diff --git a/tests/api/b2b/bapi/dynamic_entity/complex/positive.robot b/tests/api/b2b/bapi/dynamic_entity/complex/positive.robot index 6216e0386..d87c8e3d4 100644 --- a/tests/api/b2b/bapi/dynamic_entity/complex/positive.robot +++ b/tests/api/b2b/bapi/dynamic_entity/complex/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_product_abstract_collection_with_childs: ### SETUP DYNAMIC ENTITY CONFIGURATION AND RELATION ### Delete dynamic entity configuration relation in Database: robotTestsCategories diff --git a/tests/api/b2b/bapi/dynamic_entity/negative.robot b/tests/api/b2b/bapi/dynamic_entity/negative.robot index 6b90d804f..cee64e5d6 100644 --- a/tests/api/b2b/bapi/dynamic_entity/negative.robot +++ b/tests/api/b2b/bapi/dynamic_entity/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_list_of_country_with_invalid_token ### SETUP DYNAMIC ENTITY CONFIGURATION ### Delete dynamic entity configuration in Database: robot-test-countries diff --git a/tests/api/b2b/bapi/dynamic_entity/positive.robot b/tests/api/b2b/bapi/dynamic_entity/positive.robot index a3c02072b..0dbed8df5 100644 --- a/tests/api/b2b/bapi/dynamic_entity/positive.robot +++ b/tests/api/b2b/bapi/dynamic_entity/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/dynamic_entity_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_country_collection ### SETUP DYNAMIC ENTITY CONFIGURATION ### Delete dynamic entity configuration in Database: robot-test-countries diff --git a/tests/api/b2b/dynamic_store/search_endpoints/catalog_search/positive.robot b/tests/api/b2b/dynamic_store/search_endpoints/catalog_search/positive.robot index a0b41e568..1ee2d6a6c 100644 --- a/tests/api/b2b/dynamic_store/search_endpoints/catalog_search/positive.robot +++ b/tests/api/b2b/dynamic_store/search_endpoints/catalog_search/positive.robot @@ -5,10 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - - # SEARCH PARAMETERS # diff --git a/tests/api/b2b/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot b/tests/api/b2b/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot index 7c2021038..61b93043d 100644 --- a/tests/api/b2b/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot +++ b/tests/api/b2b/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_alternative_abstract_with_nonexistant_SKU When I send a GET request: /concrete-products/fake/abstract-alternative-products Then Response status code should be: 404 diff --git a/tests/api/b2b/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot b/tests/api/b2b/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot index cb2b58845..7b8dc3527 100644 --- a/tests/api/b2b/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot +++ b/tests/api/b2b/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Product_has_abstract_alternative When I send a GET request: ... /concrete-products/${concrete.alternative_products.product_1.sku}/abstract-alternative-products diff --git a/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot b/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot index 775c393b2..f3de10933 100644 --- a/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot +++ b/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_availability_by_concrete_SKU When I send a GET request: ... /abstract-products/${concrete.alternative_products.product_1.sku}/abstract-product-availabilities diff --git a/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot b/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot index 101851c48..fec262dbc 100644 --- a/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot +++ b/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Product_is_available_with_stock_and_never_out_of_stock When I send a GET request: ... /abstract-products/${abstract.available_products.with_stock_and_never_out_of_stock_sku_2}/abstract-product-availabilities diff --git a/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot b/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot index a7ed28ddf..582eb7010 100644 --- a/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot +++ b/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_image_stes_by_concrete_SKU When I send a GET request: ... /abstract-products/${concrete.alternative_products.product_1.sku}/abstract-product-image-sets diff --git a/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot b/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot index bcd3ae6dc..98ef031ae 100644 --- a/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot +++ b/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Abstract_image_sets_with_1_concrete When I send a GET request: ... /abstract-products/${abstract.available_products.with_stock_and_never_out_of_stock_sku}/abstract-product-image-sets diff --git a/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_prices/negative.robot b/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_prices/negative.robot index 78d8c98e9..8b612be7b 100644 --- a/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_prices/negative.robot +++ b/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_prices/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_prices_by_concrete_SKU [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_prices/positive.robot b/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_prices/positive.robot index e11e63ba5..ac09ed122 100644 --- a/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_prices/positive.robot +++ b/tests/api/b2b/glue/abstract_product_endpoints/abstract_product_prices/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Abstract_prices_detault_only [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/abstract_product_endpoints/abstract_products/negative.robot b/tests/api/b2b/glue/abstract_product_endpoints/abstract_products/negative.robot index 70590d3bc..d103a156c 100644 --- a/tests/api/b2b/glue/abstract_product_endpoints/abstract_products/negative.robot +++ b/tests/api/b2b/glue/abstract_product_endpoints/abstract_products/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_product_by_concrete_SKU When I send a GET request: /abstract-products/${concrete.alternative_products.product_1.sku} Then Response status code should be: 404 diff --git a/tests/api/b2b/glue/abstract_product_endpoints/abstract_products/positive.robot b/tests/api/b2b/glue/abstract_product_endpoints/abstract_products/positive.robot index daaa2eee5..fff23ba74 100644 --- a/tests/api/b2b/glue/abstract_product_endpoints/abstract_products/positive.robot +++ b/tests/api/b2b/glue/abstract_product_endpoints/abstract_products/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Abstract_product_with_one_concrete #Bug - CC-16551 When I send a GET request: /abstract-products/${abstract.available_products.with_stock.sku} @@ -190,3 +187,15 @@ Abstract_product_with_3_concrete_and_concrete_nested_includes And Response include element has self link: concrete-product-prices And Response include element has self link: concrete-product-image-sets And Response include element has self link: concrete-product-availabilities + +Abstract_product_in_different_locales_languages + When I set Headers: Accept-Language=de-DE + And I send a GET request: /abstract-products/${abstract.product_in_different_locales.sku} + Then Response status code should be: 200 + And Response reason should be: OK + And Response body parameter should contain: [data][attributes][description] ${abstract.product_in_different_locales.description_de} + When I set Headers: Accept-Language=en-US + And I send a GET request: /abstract-products/${abstract.product_in_different_locales.sku} + Then Response status code should be: 200 + And Response reason should be: OK + And Response body parameter should contain: [data][attributes][description] ${abstract.product_in_different_locales.description_en} \ No newline at end of file diff --git a/tests/api/b2b/glue/access_token_endpoints/access_tokens/negative.robot b/tests/api/b2b/glue/access_token_endpoints/access_tokens/negative.robot index 9fb6868a5..7043cece5 100644 --- a/tests/api/b2b/glue/access_token_endpoints/access_tokens/negative.robot +++ b/tests/api/b2b/glue/access_token_endpoints/access_tokens/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_acess_token_with_invalid_password When I send a POST request: ... /access-tokens diff --git a/tests/api/b2b/glue/access_token_endpoints/access_tokens/positive.robot b/tests/api/b2b/glue/access_token_endpoints/access_tokens/positive.robot index b5df449eb..eb384ec95 100644 --- a/tests/api/b2b/glue/access_token_endpoints/access_tokens/positive.robot +++ b/tests/api/b2b/glue/access_token_endpoints/access_tokens/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_access_token_for_customer When I send a POST request: ... /access-tokens diff --git a/tests/api/b2b/glue/access_token_endpoints/refresh_tokens/negative.robot b/tests/api/b2b/glue/access_token_endpoints/refresh_tokens/negative.robot index e217a65a9..54c45f350 100644 --- a/tests/api/b2b/glue/access_token_endpoints/refresh_tokens/negative.robot +++ b/tests/api/b2b/glue/access_token_endpoints/refresh_tokens/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #######POST####### Refresh_token_with_access_token diff --git a/tests/api/b2b/glue/access_token_endpoints/refresh_tokens/positive.robot b/tests/api/b2b/glue/access_token_endpoints/refresh_tokens/positive.robot index 2213ec1be..655b0811a 100644 --- a/tests/api/b2b/glue/access_token_endpoints/refresh_tokens/positive.robot +++ b/tests/api/b2b/glue/access_token_endpoints/refresh_tokens/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Refresh_access_token_for_customer [Setup] Run Keywords I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_user.email}","password":"${yves_user.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/b2b/glue/agent_endpoints/agent_access_tokens/negative.robot b/tests/api/b2b/glue/agent_endpoints/agent_access_tokens/negative.robot index bab5e16e3..84c4d42bd 100644 --- a/tests/api/b2b/glue/agent_endpoints/agent_access_tokens/negative.robot +++ b/tests/api/b2b/glue/agent_endpoints/agent_access_tokens/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_agent_token_for_user_who_is_not_agent When I send a POST request: ... /agent-access-tokens diff --git a/tests/api/b2b/glue/agent_endpoints/agent_access_tokens/positive.robot b/tests/api/b2b/glue/agent_endpoints/agent_access_tokens/positive.robot index 479892746..729243a10 100644 --- a/tests/api/b2b/glue/agent_endpoints/agent_access_tokens/positive.robot +++ b/tests/api/b2b/glue/agent_endpoints/agent_access_tokens/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_can_get_access_token When I send a POST request: ... /agent-access-tokens diff --git a/tests/api/b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot b/tests/api/b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot index 733d0376e..86bb44981 100644 --- a/tests/api/b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot +++ b/tests/api/b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_cannot_impersonate_customer_with_no_agent_token When I send a POST request: ... /agent-customer-impersonation-access-tokens diff --git a/tests/api/b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot b/tests/api/b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot index 3719dad6c..38687d48b 100644 --- a/tests/api/b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot +++ b/tests/api/b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_can_get_customer_impersonation_token [Setup] Run Keywords I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/b2b/glue/agent_endpoints/agent_customer_search/negative.robot b/tests/api/b2b/glue/agent_endpoints/agent_customer_search/negative.robot index a72f5f2d9..8e548a2b5 100644 --- a/tests/api/b2b/glue/agent_endpoints/agent_customer_search/negative.robot +++ b/tests/api/b2b/glue/agent_endpoints/agent_customer_search/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_searches_for_customers_with_no_token When I send a GET request: /agent-customer-search Then Response status code should be: 401 diff --git a/tests/api/b2b/glue/agent_endpoints/agent_customer_search/positive.robot b/tests/api/b2b/glue/agent_endpoints/agent_customer_search/positive.robot index 05c388988..a0a2791aa 100644 --- a/tests/api/b2b/glue/agent_endpoints/agent_customer_search/positive.robot +++ b/tests/api/b2b/glue/agent_endpoints/agent_customer_search/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_can_get_search_for_customers_without_search_parameters [Setup] Run Keywords I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/b2b/glue/availability_endpoints/availability_notifications/negative.robot b/tests/api/b2b/glue/availability_endpoints/availability_notifications/negative.robot index 15ec909b5..cbe8afd20 100644 --- a/tests/api/b2b/glue/availability_endpoints/availability_notifications/negative.robot +++ b/tests/api/b2b/glue/availability_endpoints/availability_notifications/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_availability_notifications_without_customerId diff --git a/tests/api/b2b/glue/availability_endpoints/availability_notifications/positive.robot b/tests/api/b2b/glue/availability_endpoints/availability_notifications/positive.robot index 1bff39ddd..df8d11b74 100644 --- a/tests/api/b2b/glue/availability_endpoints/availability_notifications/positive.robot +++ b/tests/api/b2b/glue/availability_endpoints/availability_notifications/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_availability_notifications_for_customer diff --git a/tests/api/b2b/glue/availability_endpoints/my_availability_notifcations/negative.robot b/tests/api/b2b/glue/availability_endpoints/my_availability_notifcations/negative.robot index 531fdca60..1547f906a 100644 --- a/tests/api/b2b/glue/availability_endpoints/my_availability_notifcations/negative.robot +++ b/tests/api/b2b/glue/availability_endpoints/my_availability_notifcations/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_my_availability_notifications_with_missing_auth_token When I send a GET request: /my-availability-notifications Then Response status code should be: 403 diff --git a/tests/api/b2b/glue/availability_endpoints/my_availability_notifcations/positive.robot b/tests/api/b2b/glue/availability_endpoints/my_availability_notifcations/positive.robot index 921ba2e5f..5cd745fbb 100644 --- a/tests/api/b2b/glue/availability_endpoints/my_availability_notifcations/positive.robot +++ b/tests/api/b2b/glue/availability_endpoints/my_availability_notifcations/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_my_availability_notifications [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/b2b/glue/bundle_endpoints/bundled_products/negative.robot b/tests/api/b2b/glue/bundle_endpoints/bundled_products/negative.robot index 9664819a8..b49069000 100644 --- a/tests/api/b2b/glue/bundle_endpoints/bundled_products/negative.robot +++ b/tests/api/b2b/glue/bundle_endpoints/bundled_products/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_bundled_products_with_nonexisting_concrete_sku [Documentation] bug: https://spryker.atlassian.net/browse/CC-15994 [Tags] skip-due-to-issue diff --git a/tests/api/b2b/glue/bundle_endpoints/bundled_products/positive.robot b/tests/api/b2b/glue/bundle_endpoints/bundled_products/positive.robot index e084b4322..c767c372f 100644 --- a/tests/api/b2b/glue/bundle_endpoints/bundled_products/positive.robot +++ b/tests/api/b2b/glue/bundle_endpoints/bundled_products/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_concrete_bundled_products_inside_concrete_bundle When I send a GET request: /concrete-products/${bundle_product.product_1.concrete_sku}/bundled-products Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/cart_endpoints/cart_permssion_groups/negitive.robot b/tests/api/b2b/glue/cart_endpoints/cart_permssion_groups/negitive.robot index 76413dec7..271f7b599 100644 --- a/tests/api/b2b/glue/cart_endpoints/cart_permssion_groups/negitive.robot +++ b/tests/api/b2b/glue/cart_endpoints/cart_permssion_groups/negitive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_cart_permission_group_with_unauthenicated_user When I send a GET request: /cart-permission-groups/1 Then Response status code should be: 403 diff --git a/tests/api/b2b/glue/cart_endpoints/cart_permssion_groups/positive.robot b/tests/api/b2b/glue/cart_endpoints/cart_permssion_groups/positive.robot index 7cbb934d1..f18c523f3 100644 --- a/tests/api/b2b/glue/cart_endpoints/cart_permssion_groups/positive.robot +++ b/tests/api/b2b/glue/cart_endpoints/cart_permssion_groups/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_cart_permission_groups_by_cart_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/b2b/glue/cart_endpoints/carts/negative.robot b/tests/api/b2b/glue/cart_endpoints/carts/negative.robot index df663922a..14d9d133a 100644 --- a/tests/api/b2b/glue/cart_endpoints/carts/negative.robot +++ b/tests/api/b2b/glue/cart_endpoints/carts/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_cart_by_cart_id_with_invalid_access_token diff --git a/tests/api/b2b/glue/cart_endpoints/carts/positive.robot b/tests/api/b2b/glue/cart_endpoints/carts/positive.robot index 1ef8754fd..06f6593dd 100644 --- a/tests/api/b2b/glue/cart_endpoints/carts/positive.robot +++ b/tests/api/b2b/glue/cart_endpoints/carts/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - # GET requests Get_cart_by_cart_id diff --git a/tests/api/b2b/glue/cart_endpoints/items/negative.robot b/tests/api/b2b/glue/cart_endpoints/items/negative.robot index 86280101b..ee8d4ca96 100644 --- a/tests/api/b2b/glue/cart_endpoints/items/negative.robot +++ b/tests/api/b2b/glue/cart_endpoints/items/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ###### POST ####### Add_item_to_cart_non_existing_sku diff --git a/tests/api/b2b/glue/cart_endpoints/items/positive.robot b/tests/api/b2b/glue/cart_endpoints/items/positive.robot index 27b202424..553652d10 100644 --- a/tests/api/b2b/glue/cart_endpoints/items/positive.robot +++ b/tests/api/b2b/glue/cart_endpoints/items/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #####POST##### Add_one_item_to_cart diff --git a/tests/api/b2b/glue/cart_endpoints/shared_carts/negative.robot b/tests/api/b2b/glue/cart_endpoints/shared_carts/negative.robot index 1daaf9126..2875f84ca 100644 --- a/tests/api/b2b/glue/cart_endpoints/shared_carts/negative.robot +++ b/tests/api/b2b/glue/cart_endpoints/shared_carts/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Share_not_owned_shopping_cart [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND Save value to a variable: [data][attributes][accessToken] userToken diff --git a/tests/api/b2b/glue/cart_endpoints/shared_carts/positive.robot b/tests/api/b2b/glue/cart_endpoints/shared_carts/positive.robot index 5f956d6e9..0663e8d84 100644 --- a/tests/api/b2b/glue/cart_endpoints/shared_carts/positive.robot +++ b/tests/api/b2b/glue/cart_endpoints/shared_carts/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_shared_shopping_cart_with_read_only_permissions_with_includes [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND Save value to a variable: [data][attributes][accessToken] userToken diff --git a/tests/api/b2b/glue/category_endpoints/category_nodes/negative.robot b/tests/api/b2b/glue/category_endpoints/category_nodes/negative.robot index 40203296e..6d2b1fd6c 100644 --- a/tests/api/b2b/glue/category_endpoints/category_nodes/negative.robot +++ b/tests/api/b2b/glue/category_endpoints/category_nodes/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - # endpoint receive category_node_id as int # here I use str type of the id and test response body diff --git a/tests/api/b2b/glue/category_endpoints/category_nodes/positive.robot b/tests/api/b2b/glue/category_endpoints/category_nodes/positive.robot index 5caa04266..8b5fe758d 100644 --- a/tests/api/b2b/glue/category_endpoints/category_nodes/positive.robot +++ b/tests/api/b2b/glue/category_endpoints/category_nodes/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_category_node_is_root_by_id [Documentation] Step skip due to isse https://spryker.atlassian.net/browse/CC-25961 When I send a GET request: /category-nodes/${category_node.root_id} diff --git a/tests/api/b2b/glue/category_endpoints/category_trees/positive.robot b/tests/api/b2b/glue/category_endpoints/category_trees/positive.robot index 15e46d4bd..81ac8fd08 100644 --- a/tests/api/b2b/glue/category_endpoints/category_trees/positive.robot +++ b/tests/api/b2b/glue/category_endpoints/category_trees/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_category_trees diff --git a/tests/api/b2b/glue/checkout_endpoints/checkout/negative.robot b/tests/api/b2b/glue/checkout_endpoints/checkout/negative.robot index c3bdf2492..28e05274b 100644 --- a/tests/api/b2b/glue/checkout_endpoints/checkout/negative.robot +++ b/tests/api/b2b/glue/checkout_endpoints/checkout/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Create_order_with_invalid_access_token diff --git a/tests/api/b2b/glue/checkout_endpoints/checkout/positive.robot b/tests/api/b2b/glue/checkout_endpoints/checkout/positive.robot index 5b08fcdeb..b2c2f7506 100644 --- a/tests/api/b2b/glue/checkout_endpoints/checkout/positive.robot +++ b/tests/api/b2b/glue/checkout_endpoints/checkout/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Create_order diff --git a/tests/api/b2b/glue/checkout_endpoints/checkout_data/negative.robot b/tests/api/b2b/glue/checkout_endpoints/checkout_data/negative.robot index 6088100c8..cff2c41df 100644 --- a/tests/api/b2b/glue/checkout_endpoints/checkout_data/negative.robot +++ b/tests/api/b2b/glue/checkout_endpoints/checkout_data/negative.robot @@ -8,10 +8,7 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #POST requests - Provide_checkout_data_with_invalid_access_token [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/b2b/glue/checkout_endpoints/checkout_data/positive.robot b/tests/api/b2b/glue/checkout_endpoints/checkout_data/positive.robot index 21076e853..ebb529296 100644 --- a/tests/api/b2b/glue/checkout_endpoints/checkout_data/positive.robot +++ b/tests/api/b2b/glue/checkout_endpoints/checkout_data/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Provide_checkout_data diff --git a/tests/api/b2b/glue/company_endpoints/companies/negative.robot b/tests/api/b2b/glue/company_endpoints/companies/negative.robot index 1fab3b1a8..cf0ec4dd6 100644 --- a/tests/api/b2b/glue/company_endpoints/companies/negative.robot +++ b/tests/api/b2b/glue/company_endpoints/companies/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_company_by_wrong_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/company_endpoints/companies/positive.robot b/tests/api/b2b/glue/company_endpoints/companies/positive.robot index 9f314e359..9fbc3bc38 100644 --- a/tests/api/b2b/glue/company_endpoints/companies/positive.robot +++ b/tests/api/b2b/glue/company_endpoints/companies/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_company_by_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/company_endpoints/company_business_unit/negative.robot b/tests/api/b2b/glue/company_endpoints/company_business_unit/negative.robot index 0b2793cee..d9a09134b 100644 --- a/tests/api/b2b/glue/company_endpoints/company_business_unit/negative.robot +++ b/tests/api/b2b/glue/company_endpoints/company_business_unit/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_business_unit_by_wrong_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/company_endpoints/company_business_unit/positive.robot b/tests/api/b2b/glue/company_endpoints/company_business_unit/positive.robot index 347032139..077498d20 100644 --- a/tests/api/b2b/glue/company_endpoints/company_business_unit/positive.robot +++ b/tests/api/b2b/glue/company_endpoints/company_business_unit/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_business_unit_by_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/company_endpoints/company_business_unit_addresses/negative.robot b/tests/api/b2b/glue/company_endpoints/company_business_unit_addresses/negative.robot index fa73d5a3a..ed5d7c61c 100644 --- a/tests/api/b2b/glue/company_endpoints/company_business_unit_addresses/negative.robot +++ b/tests/api/b2b/glue/company_endpoints/company_business_unit_addresses/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_business_unit_address_by_wrong_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/company_endpoints/company_business_unit_addresses/positive.robot b/tests/api/b2b/glue/company_endpoints/company_business_unit_addresses/positive.robot index b3ffae0a5..00b100a49 100644 --- a/tests/api/b2b/glue/company_endpoints/company_business_unit_addresses/positive.robot +++ b/tests/api/b2b/glue/company_endpoints/company_business_unit_addresses/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_business_units_address_by_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/company_endpoints/company_roles/negative.robot b/tests/api/b2b/glue/company_endpoints/company_roles/negative.robot index 8b3f87446..802660b1f 100644 --- a/tests/api/b2b/glue/company_endpoints/company_roles/negative.robot +++ b/tests/api/b2b/glue/company_endpoints/company_roles/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_company_role_by_wrong_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/company_endpoints/company_roles/positive.robot b/tests/api/b2b/glue/company_endpoints/company_roles/positive.robot index 347250c7f..d7541e39e 100644 --- a/tests/api/b2b/glue/company_endpoints/company_roles/positive.robot +++ b/tests/api/b2b/glue/company_endpoints/company_roles/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_company_role_by_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/company_endpoints/company_user_access_tokens/negative.robot b/tests/api/b2b/glue/company_endpoints/company_user_access_tokens/negative.robot index a642e43d3..b66060f5a 100644 --- a/tests/api/b2b/glue/company_endpoints/company_user_access_tokens/negative.robot +++ b/tests/api/b2b/glue/company_endpoints/company_user_access_tokens/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_access_token_by_invalid_company_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/company_endpoints/company_user_access_tokens/positive.robot b/tests/api/b2b/glue/company_endpoints/company_user_access_tokens/positive.robot index 021ab54a4..534fa5871 100644 --- a/tests/api/b2b/glue/company_endpoints/company_user_access_tokens/positive.robot +++ b/tests/api/b2b/glue/company_endpoints/company_user_access_tokens/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_access_token_for_company_user_by_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/company_endpoints/company_users/negative.robot b/tests/api/b2b/glue/company_endpoints/company_users/negative.robot index 2df2669d1..cbb966dc5 100644 --- a/tests/api/b2b/glue/company_endpoints/company_users/negative.robot +++ b/tests/api/b2b/glue/company_endpoints/company_users/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_company_user_by_wrong_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/company_endpoints/company_users/positive.robot b/tests/api/b2b/glue/company_endpoints/company_users/positive.robot index cd8d2dfc7..0de8592e8 100644 --- a/tests/api/b2b/glue/company_endpoints/company_users/positive.robot +++ b/tests/api/b2b/glue/company_endpoints/company_users/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_company_users [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot b/tests/api/b2b/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot index 3786c6609..36aed4164 100644 --- a/tests/api/b2b/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot +++ b/tests/api/b2b/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_product_alternative_for_concrete_product_with_invalid_sku_of_product When I send a GET request: /concrete-products/65789/concrete-alternative-products Then Response status code should be: 404 diff --git a/tests/api/b2b/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot b/tests/api/b2b/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot index 784423ea8..d386b2f5c 100644 --- a/tests/api/b2b/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot +++ b/tests/api/b2b/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_concrete_alternative_product_for_a_product_that_has_none When I send a GET request: ... /concrete-products/${bundle_product.product_2.concrete_sku}/concrete-alternative-products diff --git a/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot b/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot index db1cc6622..7a420185a 100644 --- a/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot +++ b/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_concrete_availability_by_abstract_SKU When I send a GET request: ... /concrete-products/${abstract.alternative_products.product_1.sku}/concrete-product-availabilities diff --git a/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot b/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot index 413e56867..965ae2a83 100644 --- a/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot +++ b/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_concrete_availability_by_concrete_SKU_with_stock When I send a GET request: ... /concrete-products/${concrete.available_product.with_stock.product_2.sku}/concrete-product-availabilities diff --git a/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot b/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot index a9180a79b..5d39c65dc 100644 --- a/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot +++ b/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_product_image_with_abstract_SKU When I send a GET request: ... /concrete-products/${bundle_product.product_2.abstract_sku}/concrete-product-image-sets diff --git a/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot b/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot index e985a33c8..4e3b54ba9 100644 --- a/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot +++ b/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_concrete_product_with_one_image_set When I send a GET request: /concrete-products/${concrete.one_image_set.sku}/concrete-product-image-sets Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_prices/negative.robot b/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_prices/negative.robot index fb5eb463b..74c8a1e55 100644 --- a/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_prices/negative.robot +++ b/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_prices/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_product_prices_with_abstract_sku [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_prices/positive.robot b/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_prices/positive.robot index f632ac2ad..862a19171 100644 --- a/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_prices/positive.robot +++ b/tests/api/b2b/glue/concrete_products_endpoints/concrete_product_prices/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_concrete_product_with_only_default_price [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/concrete_products_endpoints/concrete_products/negative.robot b/tests/api/b2b/glue/concrete_products_endpoints/concrete_products/negative.robot index 703ef3400..d484d0a8a 100644 --- a/tests/api/b2b/glue/concrete_products_endpoints/concrete_products/negative.robot +++ b/tests/api/b2b/glue/concrete_products_endpoints/concrete_products/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_product_concrete_with_product_doesn't_exist When I send a GET request: /concrete-products/354656u7i8 Then Response status code should be: 404 diff --git a/tests/api/b2b/glue/concrete_products_endpoints/concrete_products/positive.robot b/tests/api/b2b/glue/concrete_products_endpoints/concrete_products/positive.robot index d3189aa40..3027fb9fb 100644 --- a/tests/api/b2b/glue/concrete_products_endpoints/concrete_products/positive.robot +++ b/tests/api/b2b/glue/concrete_products_endpoints/concrete_products/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_product_concrete_by_id When I send a GET request: /concrete-products/${concrete.alternative_products.product_1.sku} Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/configurable_bundle_endpoints/configurable_bundle/negative.robot b/tests/api/b2b/glue/configurable_bundle_endpoints/configurable_bundle/negative.robot index 59b022509..c654e7439 100644 --- a/tests/api/b2b/glue/configurable_bundle_endpoints/configurable_bundle/negative.robot +++ b/tests/api/b2b/glue/configurable_bundle_endpoints/configurable_bundle/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ####### GET ####### Get_configurable_bundle_templates_by_invalid_configurable_bundle.template_id diff --git a/tests/api/b2b/glue/configurable_bundle_endpoints/configurable_bundle/positive.robot b/tests/api/b2b/glue/configurable_bundle_endpoints/configurable_bundle/positive.robot index 2fb9ec82c..94bffa3d5 100644 --- a/tests/api/b2b/glue/configurable_bundle_endpoints/configurable_bundle/positive.robot +++ b/tests/api/b2b/glue/configurable_bundle_endpoints/configurable_bundle/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_configurable_bundle_templates When I send a GET request: /configurable-bundle-templates Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/content_endpoints/cms_pages/negative.robot b/tests/api/b2b/glue/content_endpoints/cms_pages/negative.robot index 571c0df2c..6dae675bd 100644 --- a/tests/api/b2b/glue/content_endpoints/cms_pages/negative.robot +++ b/tests/api/b2b/glue/content_endpoints/cms_pages/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_cms_page_list_by_fake_id When I send a GET request: /cms-pages/:cms Then Response status code should be: 404 diff --git a/tests/api/b2b/glue/content_endpoints/cms_pages/positive.robot b/tests/api/b2b/glue/content_endpoints/cms_pages/positive.robot index 99fa8c98e..57badf8bf 100644 --- a/tests/api/b2b/glue/content_endpoints/cms_pages/positive.robot +++ b/tests/api/b2b/glue/content_endpoints/cms_pages/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/cms_steps.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_cms_pages_list When I send a GET request: /cms-pages Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/content_endpoints/content_banners/negative.robot b/tests/api/b2b/glue/content_endpoints/content_banners/negative.robot index 8b2f9fc1c..bfa4efc6b 100644 --- a/tests/api/b2b/glue/content_endpoints/content_banners/negative.robot +++ b/tests/api/b2b/glue/content_endpoints/content_banners/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_banner_without_id When I send a GET request: /content-banners Then Response status code should be: 400 diff --git a/tests/api/b2b/glue/content_endpoints/content_banners/positive.robot b/tests/api/b2b/glue/content_endpoints/content_banners/positive.robot index 44434dac3..caaba2623 100644 --- a/tests/api/b2b/glue/content_endpoints/content_banners/positive.robot +++ b/tests/api/b2b/glue/content_endpoints/content_banners/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_banner When I send a GET request: /content-banners/${banner.id} Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/content_endpoints/content_product_abstract_lists/negative.robot b/tests/api/b2b/glue/content_endpoints/content_product_abstract_lists/negative.robot index 96d55d83b..64846828e 100644 --- a/tests/api/b2b/glue/content_endpoints/content_product_abstract_lists/negative.robot +++ b/tests/api/b2b/glue/content_endpoints/content_product_abstract_lists/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_product_list_by_fake_id When I send a GET request: /content-product-abstract-lists/fake Then Response status code should be: 404 diff --git a/tests/api/b2b/glue/content_endpoints/content_product_abstract_lists/positive.robot b/tests/api/b2b/glue/content_endpoints/content_product_abstract_lists/positive.robot index 224289647..024fe0ae3 100644 --- a/tests/api/b2b/glue/content_endpoints/content_product_abstract_lists/positive.robot +++ b/tests/api/b2b/glue/content_endpoints/content_product_abstract_lists/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Abstract_product_list When I send a GET request: /content-product-abstract-lists/${abstract_list.id} Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/customer_endpoints/addresses/negative.robot b/tests/api/b2b/glue/customer_endpoints/addresses/negative.robot index 36f6fa1f8..4960e33ca 100644 --- a/tests/api/b2b/glue/customer_endpoints/addresses/negative.robot +++ b/tests/api/b2b/glue/customer_endpoints/addresses/negative.robot @@ -8,10 +8,7 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup ######POST##### - Create_customer_address_with_missing_required_fields When I get access token for the customer: ${yves_user.email} And I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/customer_endpoints/addresses/positive.robot b/tests/api/b2b/glue/customer_endpoints/addresses/positive.robot index 2b962c020..e6d04b8dd 100644 --- a/tests/api/b2b/glue/customer_endpoints/addresses/positive.robot +++ b/tests/api/b2b/glue/customer_endpoints/addresses/positive.robot @@ -8,10 +8,7 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #####POST##### - Create_customer_address_with_all_fields [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/customer_endpoints/customer_access/positive.robot b/tests/api/b2b/glue/customer_endpoints/customer_access/positive.robot index 7f448bf51..f8b278ed5 100644 --- a/tests/api/b2b/glue/customer_endpoints/customer_access/positive.robot +++ b/tests/api/b2b/glue/customer_endpoints/customer_access/positive.robot @@ -8,10 +8,7 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup -##### all negative and positive tests for this endpoint are already covered with other tests (e.g. abstract-product-prices checks that without token proces are not accessible) - +##### all negative and positive tests for this endpoint are already covered with other tests (e.g. abstract-product-prices checks that without token process are not accessible) Get_resources_customer_can_access When I send a GET request: /customer-access Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/customer_endpoints/customer_confirmation/negative.robot b/tests/api/b2b/glue/customer_endpoints/customer_confirmation/negative.robot index 0e868027b..bdb9f5988 100644 --- a/tests/api/b2b/glue/customer_endpoints/customer_confirmation/negative.robot +++ b/tests/api/b2b/glue/customer_endpoints/customer_confirmation/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Customer_confirmation_with_wrong_confirmation_key And I send a POST request: ... /customer-confirmation diff --git a/tests/api/b2b/glue/customer_endpoints/customer_confirmation/positive.robot b/tests/api/b2b/glue/customer_endpoints/customer_confirmation/positive.robot index 3fd2229b9..b740f8e90 100644 --- a/tests/api/b2b/glue/customer_endpoints/customer_confirmation/positive.robot +++ b/tests/api/b2b/glue/customer_endpoints/customer_confirmation/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Customer_confirmation [Setup] Run Keywords I send a POST request: /customers {"data":{"type":"customers","attributes":{"firstName":"${yves_third_user.first_name}","lastName":"${yves_third_user.last_name}","gender":"${gender.male}","salutation":"${yves_third_user.salutation}","email":"${yves_third_user.first_name}.${yves_third_user.last_name}${random}@spryker.com","password":"${yves_third_user.password_new}","confirmPassword":"${yves_third_user.password_new}","acceptedTerms":True}}} ... AND Response status code should be: 201 diff --git a/tests/api/b2b/glue/customer_endpoints/customer_forgotten_password/negative.robot b/tests/api/b2b/glue/customer_endpoints/customer_forgotten_password/negative.robot index 18987f929..abbc1ce29 100644 --- a/tests/api/b2b/glue/customer_endpoints/customer_forgotten_password/negative.robot +++ b/tests/api/b2b/glue/customer_endpoints/customer_forgotten_password/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Forgot_password_wrong_email_format I send a POST request: ... /customer-forgotten-password diff --git a/tests/api/b2b/glue/customer_endpoints/customer_forgotten_password/positive.robot b/tests/api/b2b/glue/customer_endpoints/customer_forgotten_password/positive.robot index db861f646..f0eb69c56 100644 --- a/tests/api/b2b/glue/customer_endpoints/customer_forgotten_password/positive.robot +++ b/tests/api/b2b/glue/customer_endpoints/customer_forgotten_password/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Forgot_password_with_all_required_fields_and_valid_data I send a POST request: ... /customer-forgotten-password diff --git a/tests/api/b2b/glue/customer_endpoints/customer_password/negative.robot b/tests/api/b2b/glue/customer_endpoints/customer_password/negative.robot index 42cbd75ee..02688a872 100644 --- a/tests/api/b2b/glue/customer_endpoints/customer_password/negative.robot +++ b/tests/api/b2b/glue/customer_endpoints/customer_password/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Update_customer_password_with_not_equal_new_password Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/b2b/glue/customer_endpoints/customer_password/positive.robot b/tests/api/b2b/glue/customer_endpoints/customer_password/positive.robot index 2c686596c..ae54418ea 100644 --- a/tests/api/b2b/glue/customer_endpoints/customer_password/positive.robot +++ b/tests/api/b2b/glue/customer_endpoints/customer_password/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Update_customer_password_with_all_required_fields_and_valid_data [Setup] Run Keywords I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_eighth_user.email}","password":"${yves_eighth_user.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/b2b/glue/customer_endpoints/customer_restore_password/negative.robot b/tests/api/b2b/glue/customer_endpoints/customer_restore_password/negative.robot index 6beab4d2e..41c7dac3c 100644 --- a/tests/api/b2b/glue/customer_endpoints/customer_restore_password/negative.robot +++ b/tests/api/b2b/glue/customer_endpoints/customer_restore_password/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Restore_password_without_customer_id I send a PATCH request: ... /customer-restore-password/ diff --git a/tests/api/b2b/glue/customer_endpoints/customer_restore_password/positive.robot b/tests/api/b2b/glue/customer_endpoints/customer_restore_password/positive.robot index 56719ce26..d3459f949 100644 --- a/tests/api/b2b/glue/customer_endpoints/customer_restore_password/positive.robot +++ b/tests/api/b2b/glue/customer_endpoints/customer_restore_password/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Restore_password_with_all_required_fields_and_valid_data [Setup] Run Keywords I send a POST request: /customers/ {"data":{"type":"customers","attributes":{"firstName":"${yves_ninth_user.first_name}","lastName":"${yves_ninth_user.last_name}","gender":"${gender.female}","salutation":"${yves_ninth_user.salutation}","email":"${email.name}+${random}${email.domain}","password":"${yves_ninth_user.password}","confirmPassword":"${yves_ninth_user.password}","acceptedTerms":True}}} ... AND Response status code should be: 201 diff --git a/tests/api/b2b/glue/customer_endpoints/customers/negative.robot b/tests/api/b2b/glue/customer_endpoints/customers/negative.robot index 3bd9111a0..9ba2c05c7 100644 --- a/tests/api/b2b/glue/customer_endpoints/customers/negative.robot +++ b/tests/api/b2b/glue/customer_endpoints/customers/negative.robot @@ -7,9 +7,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_customer_with_already_existing_email When I send a POST request: ... /customers/ diff --git a/tests/api/b2b/glue/customer_endpoints/customers/positive.robot b/tests/api/b2b/glue/customer_endpoints/customers/positive.robot index 303756d30..ab6e9eddb 100644 --- a/tests/api/b2b/glue/customer_endpoints/customers/positive.robot +++ b/tests/api/b2b/glue/customer_endpoints/customers/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_customer I send a POST request: ... /customers/ diff --git a/tests/api/b2b/glue/discount_endpoints/vouchers/negative.robot b/tests/api/b2b/glue/discount_endpoints/vouchers/negative.robot index d8293a3db..b490287f8 100644 --- a/tests/api/b2b/glue/discount_endpoints/vouchers/negative.robot +++ b/tests/api/b2b/glue/discount_endpoints/vouchers/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ####### POST ####### Adding_not_existing_voucher_code_to_cart_of_logged_in_customer diff --git a/tests/api/b2b/glue/discount_endpoints/vouchers/positive.robot b/tests/api/b2b/glue/discount_endpoints/vouchers/positive.robot index 9f4131922..2bd7cd3fd 100644 --- a/tests/api/b2b/glue/discount_endpoints/vouchers/positive.robot +++ b/tests/api/b2b/glue/discount_endpoints/vouchers/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #####POST##### Adding_voucher_code_to_cart_of_logged_in_customer diff --git a/tests/api/b2b/glue/general_product_endpoints/product_labels/negative.robot b/tests/api/b2b/glue/general_product_endpoints/product_labels/negative.robot index 38f74a44f..031809261 100644 --- a/tests/api/b2b/glue/general_product_endpoints/product_labels/negative.robot +++ b/tests/api/b2b/glue/general_product_endpoints/product_labels/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_a_label_without_label_id When I send a GET request: /product-labels Then Response status code should be: 400 diff --git a/tests/api/b2b/glue/general_product_endpoints/product_labels/positive.robot b/tests/api/b2b/glue/general_product_endpoints/product_labels/positive.robot index bc94ed7b6..dab63abd9 100644 --- a/tests/api/b2b/glue/general_product_endpoints/product_labels/positive.robot +++ b/tests/api/b2b/glue/general_product_endpoints/product_labels/positive.robot @@ -8,10 +8,7 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #####POST##### - Get_manual_product_label_by_id When I send a GET request: /product-labels/${labels.id_manual} Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/general_product_endpoints/product_management_attributes/negative.robot b/tests/api/b2b/glue/general_product_endpoints/product_management_attributes/negative.robot index ef9939522..409671812 100644 --- a/tests/api/b2b/glue/general_product_endpoints/product_management_attributes/negative.robot +++ b/tests/api/b2b/glue/general_product_endpoints/product_management_attributes/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_an_attribute_with_non_existent_attribute_id When I send a GET request: /product-management-attributes/fake Then Response status code should be: 404 diff --git a/tests/api/b2b/glue/general_product_endpoints/product_management_attributes/positive.robot b/tests/api/b2b/glue/general_product_endpoints/product_management_attributes/positive.robot index 26d8fefed..e2a44a37c 100644 --- a/tests/api/b2b/glue/general_product_endpoints/product_management_attributes/positive.robot +++ b/tests/api/b2b/glue/general_product_endpoints/product_management_attributes/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_all_product_management_attributes When I send a GET request: /product-management-attributes Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/general_product_endpoints/product_reviews/negative.robot b/tests/api/b2b/glue/general_product_endpoints/product_reviews/negative.robot index fbdc1dfc9..fa3a0f402 100644 --- a/tests/api/b2b/glue/general_product_endpoints/product_reviews/negative.robot +++ b/tests/api/b2b/glue/general_product_endpoints/product_reviews/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_a_review_with_non_existent_review_id When I send a GET request: /abstract-products/${abstract.with_review.sku}/product-reviews/fake Then Response status code should be: 404 diff --git a/tests/api/b2b/glue/general_product_endpoints/product_reviews/positive.robot b/tests/api/b2b/glue/general_product_endpoints/product_reviews/positive.robot index 1f10da3bb..e3d5431e5 100644 --- a/tests/api/b2b/glue/general_product_endpoints/product_reviews/positive.robot +++ b/tests/api/b2b/glue/general_product_endpoints/product_reviews/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_reviews When I send a GET request: /abstract-products/${abstract.with_review.sku}/product-reviews Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/general_product_endpoints/product_tax_sets/negative.robot b/tests/api/b2b/glue/general_product_endpoints/product_tax_sets/negative.robot index a52d3f4ae..624a24425 100644 --- a/tests/api/b2b/glue/general_product_endpoints/product_tax_sets/negative.robot +++ b/tests/api/b2b/glue/general_product_endpoints/product_tax_sets/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_a_tax_set_with_concrete_sku When I send a GET request: diff --git a/tests/api/b2b/glue/general_product_endpoints/product_tax_sets/positive.robot b/tests/api/b2b/glue/general_product_endpoints/product_tax_sets/positive.robot index 566a6f821..5a5671c0a 100644 --- a/tests/api/b2b/glue/general_product_endpoints/product_tax_sets/positive.robot +++ b/tests/api/b2b/glue/general_product_endpoints/product_tax_sets/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_tax sets When I send a GET request: /abstract-products/${abstract.with_review.sku}/product-tax-sets Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/general_product_endpoints/related_products/negative.robot b/tests/api/b2b/glue/general_product_endpoints/related_products/negative.robot index 967ae7840..7223b783c 100644 --- a/tests/api/b2b/glue/general_product_endpoints/related_products/negative.robot +++ b/tests/api/b2b/glue/general_product_endpoints/related_products/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_related_products_without_abstract_SKU When I send a GET request: /abstract-products//related-products Then Response status code should be: 400 diff --git a/tests/api/b2b/glue/general_product_endpoints/related_products/positive.robot b/tests/api/b2b/glue/general_product_endpoints/related_products/positive.robot index fbcdec60b..af16c3f7d 100644 --- a/tests/api/b2b/glue/general_product_endpoints/related_products/positive.robot +++ b/tests/api/b2b/glue/general_product_endpoints/related_products/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Product_has_related_products When I send a GET request: ... /abstract-products/${abstract.product_with_relations.has_related_products.product_1.sku}/related-products diff --git a/tests/api/b2b/glue/general_product_endpoints/upselling_products/negative.robot b/tests/api/b2b/glue/general_product_endpoints/upselling_products/negative.robot index c2857f2a2..9b1385f2e 100644 --- a/tests/api/b2b/glue/general_product_endpoints/upselling_products/negative.robot +++ b/tests/api/b2b/glue/general_product_endpoints/upselling_products/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_upselling_products_with_missing_cart_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/general_product_endpoints/upselling_products/positive.robot b/tests/api/b2b/glue/general_product_endpoints/upselling_products/positive.robot index 7eccff3b8..3fe6cebdc 100644 --- a/tests/api/b2b/glue/general_product_endpoints/upselling_products/positive.robot +++ b/tests/api/b2b/glue/general_product_endpoints/upselling_products/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_upselling_products [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/navigations_endpoints/navigations/negative.robot b/tests/api/b2b/glue/navigations_endpoints/navigations/negative.robot index 49099a11b..457f9c996 100644 --- a/tests/api/b2b/glue/navigations_endpoints/navigations/negative.robot +++ b/tests/api/b2b/glue/navigations_endpoints/navigations/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_navigations_by_non_exist_id When I send a GET request: /navigations/testNonExistNavigations Then Response status code should be: 404 diff --git a/tests/api/b2b/glue/navigations_endpoints/navigations/positive.robot b/tests/api/b2b/glue/navigations_endpoints/navigations/positive.robot index 537ba1258..6e20b5507 100644 --- a/tests/api/b2b/glue/navigations_endpoints/navigations/positive.robot +++ b/tests/api/b2b/glue/navigations_endpoints/navigations/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_navigation_tree_using_valid_navigation_key When I send a GET request: /navigations/MAIN_NAVIGATION Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/order_endpoints/orders/negative.robot b/tests/api/b2b/glue/order_endpoints/orders/negative.robot index 359642a75..55312a948 100644 --- a/tests/api/b2b/glue/order_endpoints/orders/negative.robot +++ b/tests/api/b2b/glue/order_endpoints/orders/negative.robot @@ -8,10 +8,7 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #GET requests - Get_order_by_order_id_with_invalid_access_token [Setup] I set Headers: Authorization=fake_token When I send a GET request: /orders/order_id diff --git a/tests/api/b2b/glue/order_endpoints/orders/positive.robot b/tests/api/b2b/glue/order_endpoints/orders/positive.robot index 609689d77..55970c015 100644 --- a/tests/api/b2b/glue/order_endpoints/orders/positive.robot +++ b/tests/api/b2b/glue/order_endpoints/orders/positive.robot @@ -8,10 +8,7 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #GET requests - Get_order_by_order_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/b2b/glue/returns_endpoints/return_reasons/positive.robot b/tests/api/b2b/glue/returns_endpoints/return_reasons/positive.robot index 61df96340..91a8b7d0d 100644 --- a/tests/api/b2b/glue/returns_endpoints/return_reasons/positive.robot +++ b/tests/api/b2b/glue/returns_endpoints/return_reasons/positive.robot @@ -9,9 +9,6 @@ Test Tags glue *** Test Cases *** #GET requests -ENABLER - API_test_setup - Get_return_reason When I send a GET request: /return-reasons Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/returns_endpoints/returns/negative.robot b/tests/api/b2b/glue/returns_endpoints/returns/negative.robot index ac0282024..c9d32d33f 100644 --- a/tests/api/b2b/glue/returns_endpoints/returns/negative.robot +++ b/tests/api/b2b/glue/returns_endpoints/returns/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_return_with_order_is_not_returnable [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/b2b/glue/returns_endpoints/returns/positive.robot b/tests/api/b2b/glue/returns_endpoints/returns/positive.robot index 3d5b3b93e..6aa1b2999 100644 --- a/tests/api/b2b/glue/returns_endpoints/returns/positive.robot +++ b/tests/api/b2b/glue/returns_endpoints/returns/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_return [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/b2b/glue/search_endpoints/catalog_search/negative.robot b/tests/api/b2b/glue/search_endpoints/catalog_search/negative.robot index 7862d04d8..7c16d5936 100644 --- a/tests/api/b2b/glue/search_endpoints/catalog_search/negative.robot +++ b/tests/api/b2b/glue/search_endpoints/catalog_search/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Search_without_query_parameter [Documentation] bug https://spryker.atlassian.net/browse/CC-15983 [Tags] skip-due-to-issue diff --git a/tests/api/b2b/glue/search_endpoints/catalog_search/positive.robot b/tests/api/b2b/glue/search_endpoints/catalog_search/positive.robot index 95e5b5534..1411a1f31 100644 --- a/tests/api/b2b/glue/search_endpoints/catalog_search/positive.robot +++ b/tests/api/b2b/glue/search_endpoints/catalog_search/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ##### SEARCH PARAMETERS ##### Search_with_empty_search_criteria_all_default_values_check diff --git a/tests/api/b2b/glue/search_endpoints/catalog_search_suggestions/positive.robot b/tests/api/b2b/glue/search_endpoints/catalog_search_suggestions/positive.robot index 767c01e8f..03d0cb435 100644 --- a/tests/api/b2b/glue/search_endpoints/catalog_search_suggestions/positive.robot +++ b/tests/api/b2b/glue/search_endpoints/catalog_search_suggestions/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_search_suggestions_without_query_parameter diff --git a/tests/api/b2b/glue/shopping_list_endpoints/shopping_list_items/negative.robot b/tests/api/b2b/glue/shopping_list_endpoints/shopping_list_items/negative.robot index 97446dbbb..f58ae6a21 100644 --- a/tests/api/b2b/glue/shopping_list_endpoints/shopping_list_items/negative.robot +++ b/tests/api/b2b/glue/shopping_list_endpoints/shopping_list_items/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Add_a_concrete_product_to_the_shopping_list_without_access_token I send a POST request: ... /shopping-lists/${shopping_list_1st.id}/shopping-list-items diff --git a/tests/api/b2b/glue/shopping_list_endpoints/shopping_list_items/positive.robot b/tests/api/b2b/glue/shopping_list_endpoints/shopping_list_items/positive.robot index fee09d419..fd55866bf 100644 --- a/tests/api/b2b/glue/shopping_list_endpoints/shopping_list_items/positive.robot +++ b/tests/api/b2b/glue/shopping_list_endpoints/shopping_list_items/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Add_a_concrete_product_to_the_shopping_list [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/shopping_list_endpoints/shopping_lists/negative.robot b/tests/api/b2b/glue/shopping_list_endpoints/shopping_lists/negative.robot index bc79ac8e1..cfe4a1ff3 100644 --- a/tests/api/b2b/glue/shopping_list_endpoints/shopping_lists/negative.robot +++ b/tests/api/b2b/glue/shopping_list_endpoints/shopping_lists/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_shopping_list_with_empty_type I send a POST request: ... /shopping-lists diff --git a/tests/api/b2b/glue/shopping_list_endpoints/shopping_lists/positive.robot b/tests/api/b2b/glue/shopping_list_endpoints/shopping_lists/positive.robot index 01dd0d8c4..0577c86c6 100644 --- a/tests/api/b2b/glue/shopping_list_endpoints/shopping_lists/positive.robot +++ b/tests/api/b2b/glue/shopping_list_endpoints/shopping_lists/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_shopping_list [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/b2b/glue/utility_endpoints/health_checks/negative.robot b/tests/api/b2b/glue/utility_endpoints/health_checks/negative.robot index 4f932d737..932a0c7a7 100644 --- a/tests/api/b2b/glue/utility_endpoints/health_checks/negative.robot +++ b/tests/api/b2b/glue/utility_endpoints/health_checks/negative.robot @@ -8,10 +8,7 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #GET requests - ### Precondition: To run commented tests need to enable service endpoints and uncomment tests ### To enable the endpoints, add the following to /config/Shared/config_default.php: ### Spryker\Shared\HealthCheck\HealthCheckConstants;$config[HealthCheckConstants::HEALTH_CHECK_ENABLED] = true; diff --git a/tests/api/b2b/glue/utility_endpoints/health_checks/positive.robot b/tests/api/b2b/glue/utility_endpoints/health_checks/positive.robot index 11524c8e0..faa683d54 100644 --- a/tests/api/b2b/glue/utility_endpoints/health_checks/positive.robot +++ b/tests/api/b2b/glue/utility_endpoints/health_checks/positive.robot @@ -8,10 +8,7 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup # GET requests - ### Precondition: To run commented tests need to enable service endpoints and uncomment tests ### To enable the endpoints, add the following to /config/Shared/config_default.php: ### Spryker\Shared\HealthCheck\HealthCheckConstants;$config[HealthCheckConstants::HEALTH_CHECK_ENABLED] = true; diff --git a/tests/api/b2b/glue/utility_endpoints/stores/negative.robot b/tests/api/b2b/glue/utility_endpoints/stores/negative.robot index ab0dc8402..0f9d5df21 100644 --- a/tests/api/b2b/glue/utility_endpoints/stores/negative.robot +++ b/tests/api/b2b/glue/utility_endpoints/stores/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_store_by_non_exist_id [Tags] dms-off [Documentation] https://spryker.atlassian.net/browse/FRW-7427 Test has been skipped for dms-on shop. discussed with Platform team. Bug has low priority can be not fixed soon. diff --git a/tests/api/b2b/glue/utility_endpoints/stores/positive.robot b/tests/api/b2b/glue/utility_endpoints/stores/positive.robot index 8698fb365..1226082ba 100644 --- a/tests/api/b2b/glue/utility_endpoints/stores/positive.robot +++ b/tests/api/b2b/glue/utility_endpoints/stores/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_all_availiable_stores [Tags] dms-off [Documentation] https://spryker.atlassian.net/browse/FRW-7430 Test has been skipped for dms-on shop. discussed with Platform team. Bug has low priority can be not fixed soon. diff --git a/tests/api/b2b/glue/utility_endpoints/url_resolver/negative.robot b/tests/api/b2b/glue/utility_endpoints/url_resolver/negative.robot index d47d65366..c8d05f117 100644 --- a/tests/api/b2b/glue/utility_endpoints/url_resolver/negative.robot +++ b/tests/api/b2b/glue/utility_endpoints/url_resolver/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_url_collection_by_non_exist_url When I send a GET request: /url-resolver?url=/non/exists/url Then Response status code should be: 404 diff --git a/tests/api/b2b/glue/utility_endpoints/url_resolver/positive.robot b/tests/api/b2b/glue/utility_endpoints/url_resolver/positive.robot index a2f5f7233..e39d13153 100644 --- a/tests/api/b2b/glue/utility_endpoints/url_resolver/positive.robot +++ b/tests/api/b2b/glue/utility_endpoints/url_resolver/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_url_collections_by_url_paramater When I send a GET request: /url-resolver?url=${url_resolver.example} Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/weight_unit_endpoints/product_measurement_units/negative.robot b/tests/api/b2b/glue/weight_unit_endpoints/product_measurement_units/negative.robot index 87a0ba9bf..37f6c1c42 100644 --- a/tests/api/b2b/glue/weight_unit_endpoints/product_measurement_units/negative.robot +++ b/tests/api/b2b/glue/weight_unit_endpoints/product_measurement_units/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_a_measurement_unit_with_non_existent_unit_id When I send a GET request: /product-measurement-units/fake Then Response status code should be: 404 diff --git a/tests/api/b2b/glue/weight_unit_endpoints/product_measurement_units/positive.robot b/tests/api/b2b/glue/weight_unit_endpoints/product_measurement_units/positive.robot index f32b31447..598887bd3 100644 --- a/tests/api/b2b/glue/weight_unit_endpoints/product_measurement_units/positive.robot +++ b/tests/api/b2b/glue/weight_unit_endpoints/product_measurement_units/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_measurement_unit_by_id When I send a GET request: /product-measurement-units/${measurement_unit.m} Then Response status code should be: 200 diff --git a/tests/api/b2b/glue/weight_unit_endpoints/sales_units/negative.robot b/tests/api/b2b/glue/weight_unit_endpoints/sales_units/negative.robot index 893709808..2e28298dd 100644 --- a/tests/api/b2b/glue/weight_unit_endpoints/sales_units/negative.robot +++ b/tests/api/b2b/glue/weight_unit_endpoints/sales_units/negative.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_a_measurement_unit_with_non_existent_sku When I send a GET request: /concrete-products/fake/sales-units Then Response status code should be: 404 diff --git a/tests/api/b2b/glue/weight_unit_endpoints/sales_units/positive.robot b/tests/api/b2b/glue/weight_unit_endpoints/sales_units/positive.robot index c0f574b08..333f8bda0 100644 --- a/tests/api/b2b/glue/weight_unit_endpoints/sales_units/positive.robot +++ b/tests/api/b2b/glue/weight_unit_endpoints/sales_units/positive.robot @@ -8,9 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_sales_units_for_product_without_sales_units When I send a GET request: /concrete-products/${concrete.available_product.with_stock.product_1.sku}/sales-units Then Response status code should be: 200 diff --git a/tests/api/b2b/sapi/utility_endpoints/stores/negative.robot b/tests/api/b2b/sapi/utility_endpoints/stores/negative.robot index a388f07ff..6da845a55 100644 --- a/tests/api/b2b/sapi/utility_endpoints/stores/negative.robot +++ b/tests/api/b2b/sapi/utility_endpoints/stores/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags sapi *** Test Cases *** -ENABLER - API_test_setup - Get_store_by_non_exist_id And I set Headers: Content-Type=${default_header_content_type} When I send a GET request: /stores/NON_EXIST_STORE diff --git a/tests/api/b2b/sapi/utility_endpoints/stores/positive.robot b/tests/api/b2b/sapi/utility_endpoints/stores/positive.robot index a7cdd7f3e..ca00fc3d2 100644 --- a/tests/api/b2b/sapi/utility_endpoints/stores/positive.robot +++ b/tests/api/b2b/sapi/utility_endpoints/stores/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags sapi *** Test Cases *** - -ENABLER - API_test_setup Get_all_availiable_stores And I set Headers: Content-Type=${default_header_content_type} When I send a GET request: /stores diff --git a/tests/api/b2c/bapi/dynamic_entity/complex/negative.robot b/tests/api/b2c/bapi/dynamic_entity/complex/negative.robot index 1975ce06e..6ee92c297 100644 --- a/tests/api/b2c/bapi/dynamic_entity/complex/negative.robot +++ b/tests/api/b2c/bapi/dynamic_entity/complex/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_product_abstract_collection_with_invalid_query_parameter: ### SETUP DYNAMIC ENTITY CONFIGURATION AND RELATION ### Delete dynamic entity configuration relation in Database: robotTestsCategories diff --git a/tests/api/b2c/bapi/dynamic_entity/complex/positive.robot b/tests/api/b2c/bapi/dynamic_entity/complex/positive.robot index ab850f60e..bd6e76c8e 100644 --- a/tests/api/b2c/bapi/dynamic_entity/complex/positive.robot +++ b/tests/api/b2c/bapi/dynamic_entity/complex/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_product_abstract_collection_with_childs: ### SETUP DYNAMIC ENTITY CONFIGURATION AND RELATION ### Delete dynamic entity configuration relation in Database: robotTestsCategories diff --git a/tests/api/b2c/bapi/dynamic_entity/negative.robot b/tests/api/b2c/bapi/dynamic_entity/negative.robot index 6b90d804f..cee64e5d6 100644 --- a/tests/api/b2c/bapi/dynamic_entity/negative.robot +++ b/tests/api/b2c/bapi/dynamic_entity/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_list_of_country_with_invalid_token ### SETUP DYNAMIC ENTITY CONFIGURATION ### Delete dynamic entity configuration in Database: robot-test-countries diff --git a/tests/api/b2c/bapi/dynamic_entity/positive.robot b/tests/api/b2c/bapi/dynamic_entity/positive.robot index a3c02072b..0dbed8df5 100644 --- a/tests/api/b2c/bapi/dynamic_entity/positive.robot +++ b/tests/api/b2c/bapi/dynamic_entity/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/dynamic_entity_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_country_collection ### SETUP DYNAMIC ENTITY CONFIGURATION ### Delete dynamic entity configuration in Database: robot-test-countries diff --git a/tests/api/b2c/bapi/push_notification_endpoints/push_notification_providers/negative.robot b/tests/api/b2c/bapi/push_notification_endpoints/push_notification_providers/negative.robot index ff3ee24ea..820d4c453 100644 --- a/tests/api/b2c/bapi/push_notification_endpoints/push_notification_providers/negative.robot +++ b/tests/api/b2c/bapi/push_notification_endpoints/push_notification_providers/negative.robot @@ -6,10 +6,6 @@ Resource ../../../../../../resources/common/common_api.robot Resource ../../../../../../resources/steps/push_notifications_steps.robot Test Tags bapi -*** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Retrieve_push_notification_providers_without_authorization [Documentation] https://spryker.atlassian.net/browse/FRW-5850 diff --git a/tests/api/b2c/bapi/push_notification_endpoints/push_notification_providers/positive.robot b/tests/api/b2c/bapi/push_notification_endpoints/push_notification_providers/positive.robot index a730ee25e..3f3d21388 100644 --- a/tests/api/b2c/bapi/push_notification_endpoints/push_notification_providers/positive.robot +++ b/tests/api/b2c/bapi/push_notification_endpoints/push_notification_providers/positive.robot @@ -5,10 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Resource ../../../../../../resources/steps/push_notifications_steps.robot Test Tags bapi -*** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Create_push_notification_provider [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} diff --git a/tests/api/b2c/bapi/push_notification_endpoints/push_notification_subscriptions/negative.robot b/tests/api/b2c/bapi/push_notification_endpoints/push_notification_subscriptions/negative.robot index 9a8409ebc..1cceea26b 100644 --- a/tests/api/b2c/bapi/push_notification_endpoints/push_notification_subscriptions/negative.robot +++ b/tests/api/b2c/bapi/push_notification_endpoints/push_notification_subscriptions/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/push_notifications_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Creates_push_notification_subscription_with_incorrect_locale [Setup] Run Keywords Create warehouse in DB: ${warehouses.name} ${True} ${warehouses.uuid} ... AND Assign user to Warehouse in DB: admin@spryker.com ${warehouses.uuid} diff --git a/tests/api/b2c/bapi/push_notification_endpoints/push_notification_subscriptions/positive.robot b/tests/api/b2c/bapi/push_notification_endpoints/push_notification_subscriptions/positive.robot index 44781c2aa..b253fc2d7 100644 --- a/tests/api/b2c/bapi/push_notification_endpoints/push_notification_subscriptions/positive.robot +++ b/tests/api/b2c/bapi/push_notification_endpoints/push_notification_subscriptions/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/push_notifications_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Creates_push_notification_subscription_with_correct_locale [Setup] Run Keywords Create warehouse in DB: ${warehouses.name} ${True} ${warehouses.uuid} ... AND Assign user to Warehouse in DB: admin@spryker.com ${warehouses.uuid} diff --git a/tests/api/b2c/bapi/warehouse_tokens/negative.robot b/tests/api/b2c/bapi/warehouse_tokens/negative.robot index 0c803d1a4..696e29f13 100644 --- a/tests/api/b2c/bapi/warehouse_tokens/negative.robot +++ b/tests/api/b2c/bapi/warehouse_tokens/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - New_warehouse_token_without_autorization [Tags] skip-due-to-issue [Documentation] https://spryker.atlassian.net/browse/FRW-2142 diff --git a/tests/api/b2c/bapi/warehouse_tokens/positive.robot b/tests/api/b2c/bapi/warehouse_tokens/positive.robot index 7fbbe3090..59ea6a8c1 100644 --- a/tests/api/b2c/bapi/warehouse_tokens/positive.robot +++ b/tests/api/b2c/bapi/warehouse_tokens/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Generate_new_user_token When I set Headers: Content-Type=application/x-www-form-urlencoded When I send a POST request: /token {"grantType": "${grant_type.password}","username": "${zed_admin.email}","password": "${zed_admin.password}"} diff --git a/tests/api/b2c/bapi/warehouse_user_assignments/negative.robot b/tests/api/b2c/bapi/warehouse_user_assignments/negative.robot index 61be8ea63..08160aed2 100644 --- a/tests/api/b2c/bapi/warehouse_user_assignments/negative.robot +++ b/tests/api/b2c/bapi/warehouse_user_assignments/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/warehouse_user_assigment_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Create_warehouse_user_assigment_with_invalid_token [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} diff --git a/tests/api/b2c/bapi/warehouse_user_assignments/positive.robot b/tests/api/b2c/bapi/warehouse_user_assignments/positive.robot index 3b6ab3472..b5388cf49 100644 --- a/tests/api/b2c/bapi/warehouse_user_assignments/positive.robot +++ b/tests/api/b2c/bapi/warehouse_user_assignments/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/warehouse_user_assigment_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Assign_user_to_warehouse [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=Bearer ${token} diff --git a/tests/api/b2c/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot b/tests/api/b2c/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot index 8454f4f31..2ada37b8b 100644 --- a/tests/api/b2c/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot +++ b/tests/api/b2c/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_alternative_abstract_with_nonexistant_SKU When I send a GET request: /concrete-products/fake/abstract-alternative-products Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot b/tests/api/b2c/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot index 359156998..42e14973f 100644 --- a/tests/api/b2c/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot +++ b/tests/api/b2c/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Product_has_abstract_alternative When I send a GET request: /concrete-products/${concrete_product_with_abstract_product_alternative.sku}/abstract-alternative-products Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot b/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot index ab3ee1681..ef9e70674 100644 --- a/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot +++ b/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_abstract_availability_by_concrete_SKU When I send a GET request: /abstract-products/${concrete_product_with_abstract_product_alternative.sku}/abstract-product-availabilities Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot b/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot index 2e14e4e98..8a939f330 100644 --- a/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot +++ b/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Product_is_available_with_stock_and_never_out_of_stock When I send a GET request: /abstract-products/${product_availability.abstract_available_with_stock_and_never_out_of_stock}/abstract-product-availabilities Then Response status code should be: 200 @@ -41,7 +39,7 @@ Product_is_available_never_out_of_stock And Response body has correct self link # No demo data for B2C BUG CC-16485 -# Bug is resolved and unavailble product SKU is updated in test data +# Bug is resolved and unavailable product SKU is updated in test data Product_is_unavailable When I send a GET request: /abstract-products/${product_availability.abstract_unavailable_product}/abstract-product-availabilities Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot b/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot index e4e17cbda..69d2bb5e6 100644 --- a/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot +++ b/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot @@ -5,9 +5,7 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup -Get_abstract_image_stes_by_concrete_SKU +Get_abstract_image_sets_by_concrete_SKU When I send a GET request: /abstract-products/${concrete_product_with_abstract_product_alternative.sku}/abstract-product-image-sets Then Response status code should be: 404 And Response reason should be: Not Found diff --git a/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot b/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot index 8ba77759f..0a48465d9 100644 --- a/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot +++ b/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Abstract_image_sets_with_1_concrete When I send a GET request: /abstract-products/${product_availability.abstract_available_with_stock_and_never_out_of_stock}/abstract-product-image-sets Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_prices/negative.robot b/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_prices/negative.robot index 8578af84a..63bbef2e9 100644 --- a/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_prices/negative.robot +++ b/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_prices/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_abstract_prices_by_concrete_SKU When I send a GET request: /abstract-products/${concrete_product_with_abstract_product_alternative.sku}/abstract-product-prices Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_prices/positive.robot b/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_prices/positive.robot index 7a316e596..5629c9bc8 100644 --- a/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_prices/positive.robot +++ b/tests/api/b2c/glue/abstract_product_endpoints/abstract_product_prices/positive.robot @@ -5,9 +5,7 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup -Abstract_prices_detault_only +Abstract_prices_default_only When I send a GET request: /abstract-products/${multivariant.abstract_product.concretes_3}/abstract-product-prices?currency=EUR&priceMode=GROSS_MODE Then Response status code should be: 200 And Response reason should be: OK @@ -25,7 +23,7 @@ Abstract_prices_detault_only And Response should contain the array of a certain size: [data][0][attributes][prices][0][volumePrices] 0 And Response body has correct self link -Abstract_prices_detault_only_CHF +Abstract_prices_default_only_CHF When I send a GET request: /abstract-products/${multivariant.abstract_product.concretes_3}/abstract-product-prices?currency=CHF&priceMode=GROSS_MODE Then Response status code should be: 200 And Response reason should be: OK diff --git a/tests/api/b2c/glue/abstract_product_endpoints/abstract_products/negative.robot b/tests/api/b2c/glue/abstract_product_endpoints/abstract_products/negative.robot index fad2890dc..456a0f49b 100644 --- a/tests/api/b2c/glue/abstract_product_endpoints/abstract_products/negative.robot +++ b/tests/api/b2c/glue/abstract_product_endpoints/abstract_products/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_abstract_product_by_concrete_SKU When I send a GET request: /abstract-products/${concrete_product_with_abstract_product_alternative.sku} Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/abstract_product_endpoints/abstract_products/positive.robot b/tests/api/b2c/glue/abstract_product_endpoints/abstract_products/positive.robot index 9f9bc6568..06857ba4b 100644 --- a/tests/api/b2c/glue/abstract_product_endpoints/abstract_products/positive.robot +++ b/tests/api/b2c/glue/abstract_product_endpoints/abstract_products/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Abstract_product_with_one_concrete When I send a GET request: /abstract-products/${abstract_available_product_with_stock.sku} Then Response status code should be: 200 @@ -143,3 +141,15 @@ Abstract_product_with_3_concrete_and_concrete_nested_includes And Response include element has self link: concrete-product-prices And Response include element has self link: concrete-product-image-sets And Response include element has self link: concrete-product-availabilities + +Abstract_product_in_different_locales_languages + When I set Headers: Accept-Language=de-DE + And I send a GET request: /abstract-products/${abstract_product.product_in_different_locales.sku} + Then Response status code should be: 200 + And Response reason should be: OK + And Response body parameter should contain: [data][attributes][description] ${abstract_product.product_in_different_locales.description_de} + When I set Headers: Accept-Language=en-US + And I send a GET request: /abstract-products/${abstract_product.product_in_different_locales.sku} + Then Response status code should be: 200 + And Response reason should be: OK + And Response body parameter should contain: [data][attributes][description] ${abstract_product.product_in_different_locales.description_en} \ No newline at end of file diff --git a/tests/api/b2c/glue/access_token_endpoints/access_tokens/negative.robot b/tests/api/b2c/glue/access_token_endpoints/access_tokens/negative.robot index 00d07fd5c..315cf6fce 100644 --- a/tests/api/b2c/glue/access_token_endpoints/access_tokens/negative.robot +++ b/tests/api/b2c/glue/access_token_endpoints/access_tokens/negative.robot @@ -5,43 +5,41 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup -Get_acess_token_with_invalid_password +Get_access_token_with_invalid_password When I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_second_user.email}","password":"fake"}}} Then Response status code should be: 401 And Response reason should be: Unauthorized And Response should return error code: 003 And Response should return error message: Failed to authenticate user. -Get_acess_token_with_invalid_email +Get_access_token_with_invalid_email When I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"fake@spryker.com","password":"${yves_user.password}"}}} Then Response status code should be: 401 And Response reason should be: Unauthorized And Response should return error code: 003 And Response should return error message: Failed to authenticate user. -Get_acess_token_with_empty_password +Get_access_token_with_empty_password When I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_second_user.email}","password":""}}} Then Response status code should be: 422 And Response reason should be: Unprocessable Content And Response should return error code: 901 And Response should return error message: password => This value should not be blank. -Get_acess_token_with_empty_email +Get_access_token_with_empty_email When I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"","password":"${yves_second_user.password}"}}} Then Response status code should be: 422 And Response reason should be: Unprocessable Content And Response should return error code: 901 And Response should return error message: username => This value should not be blank. -Get_acess_token_with_invalid_type +Get_access_token_with_invalid_type When I send a POST request: /access-tokens {"data":{"type":"access","attributes":{"username":"${yves_second_user.email}","password":"${yves_second_user.password}"}}} Then Response status code should be: 400 And Response reason should be: Bad Request And Response should return error message: Invalid type. -Get_acess_token_with_empty_type +Get_access_token_with_empty_type When I send a POST request: /access-tokens {"data":{"type":"","attributes":{"username":"${yves_second_user.email}","password":"${yves_second_user.password}"}}} Then Response status code should be: 400 And Response reason should be: Bad Request diff --git a/tests/api/b2c/glue/access_token_endpoints/access_tokens/positive.robot b/tests/api/b2c/glue/access_token_endpoints/access_tokens/positive.robot index 6e9667906..f1489e842 100644 --- a/tests/api/b2c/glue/access_token_endpoints/access_tokens/positive.robot +++ b/tests/api/b2c/glue/access_token_endpoints/access_tokens/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_access_token_for_customer When I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_user.email}","password":"${yves_user.password}"}}} Then Response status code should be: 201 diff --git a/tests/api/b2c/glue/access_token_endpoints/refresh_tokens/negative.robot b/tests/api/b2c/glue/access_token_endpoints/refresh_tokens/negative.robot index cd4ede58e..f1958b888 100644 --- a/tests/api/b2c/glue/access_token_endpoints/refresh_tokens/negative.robot +++ b/tests/api/b2c/glue/access_token_endpoints/refresh_tokens/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #######POST####### Refresh_token_with_access_token [Setup] I get access token for the customer: ${yves_user.email} diff --git a/tests/api/b2c/glue/access_token_endpoints/refresh_tokens/positive.robot b/tests/api/b2c/glue/access_token_endpoints/refresh_tokens/positive.robot index 362c73d04..07a256438 100644 --- a/tests/api/b2c/glue/access_token_endpoints/refresh_tokens/positive.robot +++ b/tests/api/b2c/glue/access_token_endpoints/refresh_tokens/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Refresh_access_token_for_customer [Setup] Run Keywords I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_user.email}","password":"${yves_user.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/b2c/glue/access_token_endpoints/token/negative.robot b/tests/api/b2c/glue/access_token_endpoints/token/negative.robot index 42833621d..16e515ebd 100644 --- a/tests/api/b2c/glue/access_token_endpoints/token/negative.robot +++ b/tests/api/b2c/glue/access_token_endpoints/token/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_token_for_customer_with_invalid_client_type When I set Headers: Content-Type=${urlencoded_header_content_type} Then I send a POST request with data: /token {"grant_type": "invalid_client_type","username": "${yves_user.email}","password": "${yves_user.password}"} diff --git a/tests/api/b2c/glue/access_token_endpoints/token/positive.robot b/tests/api/b2c/glue/access_token_endpoints/token/positive.robot index f6ba8f3bb..b249531e8 100644 --- a/tests/api/b2c/glue/access_token_endpoints/token/positive.robot +++ b/tests/api/b2c/glue/access_token_endpoints/token/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_token_for_customer I set Headers: Content-Type=${urlencoded_header_content_type} I send a POST request with data: /token {"grant_type": "${grant_type.password}","username": "${yves_user.email}","password": "${yves_user.password}"} diff --git a/tests/api/b2c/glue/agent_endpoints/agent_access_tokens/negative.robot b/tests/api/b2c/glue/agent_endpoints/agent_access_tokens/negative.robot index 29412e210..a39e63d51 100644 --- a/tests/api/b2c/glue/agent_endpoints/agent_access_tokens/negative.robot +++ b/tests/api/b2c/glue/agent_endpoints/agent_access_tokens/negative.robot @@ -4,10 +4,7 @@ Suite Setup API_suite_setup Test Setup API_test_setup Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_agent_access_token_by_empty_email_and_empty_password When I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "","password": ""}}} Then Response status code should be: 401 diff --git a/tests/api/b2c/glue/agent_endpoints/agent_access_tokens/positive.robot b/tests/api/b2c/glue/agent_endpoints/agent_access_tokens/positive.robot index cb0fb8b32..19bda6599 100644 --- a/tests/api/b2c/glue/agent_endpoints/agent_access_tokens/positive.robot +++ b/tests/api/b2c/glue/agent_endpoints/agent_access_tokens/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_agent_access_tokens When I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} Then Response status code should be: 201 diff --git a/tests/api/b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot b/tests/api/b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot index bf84fa744..f12652805 100644 --- a/tests/api/b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot +++ b/tests/api/b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_cannot_impersonate_customer_with_no_agent_token When I send a POST request: /agent-customer-impersonation-access-tokens {"data": {"type": "agent-customer-impersonation-access-tokens","attributes":{"customerReference": "${yves_user.reference}"}}} Then Response status code should be: 401 diff --git a/tests/api/b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot b/tests/api/b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot index b8cdf52f0..b4a2eac9a 100644 --- a/tests/api/b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot +++ b/tests/api/b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Agent_can_get_customer_impersonation_token [Setup] Run Keywords I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/b2c/glue/agent_endpoints/agent_customer_search/negative.robot b/tests/api/b2c/glue/agent_endpoints/agent_customer_search/negative.robot index 785ad7c74..83f84d90b 100644 --- a/tests/api/b2c/glue/agent_endpoints/agent_customer_search/negative.robot +++ b/tests/api/b2c/glue/agent_endpoints/agent_customer_search/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Not_agent_can't_get_search_for_customers When I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${non_agent.email}","password": "${non_agent.password}"}}} Then Response status code should be: 401 diff --git a/tests/api/b2c/glue/agent_endpoints/agent_customer_search/positive.robot b/tests/api/b2c/glue/agent_endpoints/agent_customer_search/positive.robot index 1ea9a6b88..e0922bd82 100644 --- a/tests/api/b2c/glue/agent_endpoints/agent_customer_search/positive.robot +++ b/tests/api/b2c/glue/agent_endpoints/agent_customer_search/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Agent_can_get_search_for_customers_without_search_parameters [Setup] Run Keywords I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/b2c/glue/availability_endpoints/availability_notifications/negative.robot b/tests/api/b2c/glue/availability_endpoints/availability_notifications/negative.robot index 36642841e..dd5a577e2 100644 --- a/tests/api/b2c/glue/availability_endpoints/availability_notifications/negative.robot +++ b/tests/api/b2c/glue/availability_endpoints/availability_notifications/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #GET requests Get_availability_notifications_without_customerId [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/b2c/glue/availability_endpoints/availability_notifications/positive.robot b/tests/api/b2c/glue/availability_endpoints/availability_notifications/positive.robot index 6bbdc0f8c..f793ce0a6 100644 --- a/tests/api/b2c/glue/availability_endpoints/availability_notifications/positive.robot +++ b/tests/api/b2c/glue/availability_endpoints/availability_notifications/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #GET requests Get_availability_notifications_for_customer [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/b2c/glue/availability_endpoints/my_availability_notifications/negative.robot b/tests/api/b2c/glue/availability_endpoints/my_availability_notifications/negative.robot index cbc12414d..c2615c6e7 100644 --- a/tests/api/b2c/glue/availability_endpoints/my_availability_notifications/negative.robot +++ b/tests/api/b2c/glue/availability_endpoints/my_availability_notifications/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_my_availability_notifications_without_auth_token When I send a GET request: /my-availability-notifications Then Response status code should be: 403 diff --git a/tests/api/b2c/glue/availability_endpoints/my_availability_notifications/positive.robot b/tests/api/b2c/glue/availability_endpoints/my_availability_notifications/positive.robot index a76324b3c..8c6647654 100644 --- a/tests/api/b2c/glue/availability_endpoints/my_availability_notifications/positive.robot +++ b/tests/api/b2c/glue/availability_endpoints/my_availability_notifications/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_my_availability_notifications [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/b2c/glue/bundle_endpoints/bundled_products/negative.robot b/tests/api/b2c/glue/bundle_endpoints/bundled_products/negative.robot index 80c1f889a..0eeca87ba 100644 --- a/tests/api/b2c/glue/bundle_endpoints/bundled_products/negative.robot +++ b/tests/api/b2c/glue/bundle_endpoints/bundled_products/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_bundled_products_with_nonexisting_concrete_sku [Documentation] bug:https://spryker.atlassian.net/browse/CC-15994 [Tags] skip-due-to-issue diff --git a/tests/api/b2c/glue/bundle_endpoints/bundled_products/positive.robot b/tests/api/b2c/glue/bundle_endpoints/bundled_products/positive.robot index 1b3c2548c..20bb5e8ba 100644 --- a/tests/api/b2c/glue/bundle_endpoints/bundled_products/positive.robot +++ b/tests/api/b2c/glue/bundle_endpoints/bundled_products/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_concrete_bundled_products_inside_concrete_bundle When I send a GET request: /concrete-products/${bundle_product.concrete_sku}/bundled-products Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/cart_endpoints/carts/negative.robot b/tests/api/b2c/glue/cart_endpoints/carts/negative.robot index cbf72ab28..0a58e02ab 100644 --- a/tests/api/b2c/glue/cart_endpoints/carts/negative.robot +++ b/tests/api/b2c/glue/cart_endpoints/carts/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_cart_by_cart_id_with_invalid_access_token [Setup] I set Headers: Authorization=3485h7 When I send a GET request: /carts/not-existing-cart diff --git a/tests/api/b2c/glue/cart_endpoints/carts/positive.robot b/tests/api/b2c/glue/cart_endpoints/carts/positive.robot index 638378d81..1210cdc80 100644 --- a/tests/api/b2c/glue/cart_endpoints/carts/positive.robot +++ b/tests/api/b2c/glue/cart_endpoints/carts/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #GET requests Get_cart_by_cart_id diff --git a/tests/api/b2c/glue/cart_endpoints/guest_cart_items/negative.robot b/tests/api/b2c/glue/cart_endpoints/guest_cart_items/negative.robot index b2a3d99dd..17a8fd662 100644 --- a/tests/api/b2c/glue/cart_endpoints/guest_cart_items/negative.robot +++ b/tests/api/b2c/glue/cart_endpoints/guest_cart_items/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Add_item_to_guest_cart_non_existing_sku [Setup] Run Keywords Create a guest cart: ${random} ${concrete_product_with_concrete_product_alternative.sku} 1 ... AND I set Headers: X-Anonymous-Customer-Unique-Id=${x_anonymous_customer_unique_id} diff --git a/tests/api/b2c/glue/cart_endpoints/guest_cart_items/positive.robot b/tests/api/b2c/glue/cart_endpoints/guest_cart_items/positive.robot index ea42caeea..e289733f9 100644 --- a/tests/api/b2c/glue/cart_endpoints/guest_cart_items/positive.robot +++ b/tests/api/b2c/glue/cart_endpoints/guest_cart_items/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Add_items_to_guest_cart_with_items_include [Setup] Run Keywords Create a guest cart: ${random} ${concrete_product_with_concrete_product_alternative.sku} 1 ... AND I set Headers: X-Anonymous-Customer-Unique-Id=${x_anonymous_customer_unique_id} diff --git a/tests/api/b2c/glue/cart_endpoints/guest_carts/negative.robot b/tests/api/b2c/glue/cart_endpoints/guest_carts/negative.robot index 3b977ff9a..a237695bf 100644 --- a/tests/api/b2c/glue/cart_endpoints/guest_carts/negative.robot +++ b/tests/api/b2c/glue/cart_endpoints/guest_carts/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_guest_cart_without_anonymous_customer_unique_id When I send a GET request: /guest-carts Then Response status code should be: 400 diff --git a/tests/api/b2c/glue/cart_endpoints/guest_carts/positive.robot b/tests/api/b2c/glue/cart_endpoints/guest_carts/positive.robot index 906a58106..90d212918 100644 --- a/tests/api/b2c/glue/cart_endpoints/guest_carts/positive.robot +++ b/tests/api/b2c/glue/cart_endpoints/guest_carts/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_guest_cart [Setup] I set Headers: Content-Type=${default_header_content_type} X-Anonymous-Customer-Unique-Id=${random} diff --git a/tests/api/b2c/glue/cart_endpoints/items/negative.robot b/tests/api/b2c/glue/cart_endpoints/items/negative.robot index 197c96212..859b73b86 100644 --- a/tests/api/b2c/glue/cart_endpoints/items/negative.robot +++ b/tests/api/b2c/glue/cart_endpoints/items/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ####### POST ####### Add_item_to_cart_non_existing_sku diff --git a/tests/api/b2c/glue/cart_endpoints/items/positive.robot b/tests/api/b2c/glue/cart_endpoints/items/positive.robot index fded27410..2bfcf702b 100644 --- a/tests/api/b2c/glue/cart_endpoints/items/positive.robot +++ b/tests/api/b2c/glue/cart_endpoints/items/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #####POST##### Add_one_item_to_cart diff --git a/tests/api/b2c/glue/category_endpoints/category_nodes/negative.robot b/tests/api/b2c/glue/category_endpoints/category_nodes/negative.robot index 40daa8de6..b60a3e5dd 100644 --- a/tests/api/b2c/glue/category_endpoints/category_nodes/negative.robot +++ b/tests/api/b2c/glue/category_endpoints/category_nodes/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_category_node_by_invalid_id When I send a GET request: /category-nodes/test Then Response status code should be: 400 diff --git a/tests/api/b2c/glue/category_endpoints/category_nodes/positive.robot b/tests/api/b2c/glue/category_endpoints/category_nodes/positive.robot index 585de5e63..3d430de94 100644 --- a/tests/api/b2c/glue/category_endpoints/category_nodes/positive.robot +++ b/tests/api/b2c/glue/category_endpoints/category_nodes/positive.robot @@ -6,10 +6,8 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_category_node_is_root_by_id - [Documentation] Step skip due to isse https://spryker.atlassian.net/browse/CC-25961 + [Documentation] Step skip due to issue https://spryker.atlassian.net/browse/CC-25961 [Tags] skip-due-to-issue When I send a GET request: /category-nodes/${category_node.root_id} Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/checkout_endpoints/checkout/negative.robot b/tests/api/b2c/glue/checkout_endpoints/checkout/negative.robot index f27af0727..0956f565b 100644 --- a/tests/api/b2c/glue/checkout_endpoints/checkout/negative.robot +++ b/tests/api/b2c/glue/checkout_endpoints/checkout/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Create_order_with_invalid_access_token [Documentation] Created the bug-ticket https://spryker.atlassian.net/browse/CC-16699, bug is fixed, fix isn`t merged to b2c demoshop diff --git a/tests/api/b2c/glue/checkout_endpoints/checkout/positive.robot b/tests/api/b2c/glue/checkout_endpoints/checkout/positive.robot index 1246c6dcb..d420f517b 100644 --- a/tests/api/b2c/glue/checkout_endpoints/checkout/positive.robot +++ b/tests/api/b2c/glue/checkout_endpoints/checkout/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Create_order [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/b2c/glue/checkout_endpoints/checkout_data/negative.robot b/tests/api/b2c/glue/checkout_endpoints/checkout_data/negative.robot index e5752c9b3..3aa71e563 100644 --- a/tests/api/b2c/glue/checkout_endpoints/checkout_data/negative.robot +++ b/tests/api/b2c/glue/checkout_endpoints/checkout_data/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Provide_checkout_data_with_invalid_access_token [Documentation] Created the bug-ticket https://spryker.atlassian.net/browse/CC-16699 diff --git a/tests/api/b2c/glue/checkout_endpoints/checkout_data/positive.robot b/tests/api/b2c/glue/checkout_endpoints/checkout_data/positive.robot index 86cfcce58..8219a1471 100644 --- a/tests/api/b2c/glue/checkout_endpoints/checkout_data/positive.robot +++ b/tests/api/b2c/glue/checkout_endpoints/checkout_data/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Provide_checkout_data diff --git a/tests/api/b2c/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot b/tests/api/b2c/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot index f6ca9cd9b..2dcfb3893 100644 --- a/tests/api/b2c/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot +++ b/tests/api/b2c/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_abstract_product_alternative_for_concrete_product_with_invalid_sku_of_product When I send a GET request: /concrete-products/65789/concrete-alternative-products Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot b/tests/api/b2c/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot index e5ae0999a..d72f8c145 100644 --- a/tests/api/b2c/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot +++ b/tests/api/b2c/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_concrete_alternative_product_for_a_product_that_has_none When I send a GET request: /concrete-products/${bundled.product_1.concrete_sku}/concrete-alternative-products Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot b/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot index b4b7bc71c..3656bfc01 100644 --- a/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot +++ b/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_concrete_availability_by_abstract_SKU When I send a GET request: /concrete-products/${abstract_product_with_alternative.sku}/concrete-product-availabilities Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot b/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot index ade6a8ca2..501c894b0 100644 --- a/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot +++ b/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_concrete_availability_by_concrete_SKU_with_stock When I send a GET request: /concrete-products/${product_availability.concrete_available_product_with_stock2}/concrete-product-availabilities Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot b/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot index 4f3312904..ff21c4fe5 100644 --- a/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot +++ b/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_product_image_with_abstract_SKU When I send a GET request: /concrete-products/${bundled.product_1.abstract_sku}/concrete-product-image-sets Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot b/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot index 5fe490231..3dbc8ddae 100644 --- a/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot +++ b/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_concrete_product_with_one_image_set When I send a GET request: /concrete-products/${concrete_product.one_image_set.sku}/concrete-product-image-sets Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_prices/negative.robot b/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_prices/negative.robot index 69c96462f..1b013e77c 100644 --- a/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_prices/negative.robot +++ b/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_prices/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_product_prices_with_abstract_sku When I send a GET request: /concrete-products/${bundled.product_1.abstract_sku}/concrete-product-prices Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_prices/positive.robot b/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_prices/positive.robot index 69bb64a7d..469d63846 100644 --- a/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_prices/positive.robot +++ b/tests/api/b2c/glue/concrete_products_endpoints/concrete_product_prices/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_concrete_product_with_only_default_price When I send a GET request: /concrete-products/${concrete_product.one_image_set.sku}/concrete-product-prices Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/concrete_products_endpoints/concrete_products/negative.robot b/tests/api/b2c/glue/concrete_products_endpoints/concrete_products/negative.robot index 58486d1c7..cae06c902 100644 --- a/tests/api/b2c/glue/concrete_products_endpoints/concrete_products/negative.robot +++ b/tests/api/b2c/glue/concrete_products_endpoints/concrete_products/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_product_concrete_with_product_doesn't_exist When I send a GET request: /concrete-products/354656u7i8 Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/concrete_products_endpoints/concrete_products/positive.robot b/tests/api/b2c/glue/concrete_products_endpoints/concrete_products/positive.robot index d58bdbae4..dee3a95be 100644 --- a/tests/api/b2c/glue/concrete_products_endpoints/concrete_products/positive.robot +++ b/tests/api/b2c/glue/concrete_products_endpoints/concrete_products/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_product_concrete_by_id When I send a GET request: /concrete-products/${concrete_product_with_concrete_product_alternative.sku} Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/configurable_bundle_endpoints/configurable_bundle/negative.robot b/tests/api/b2c/glue/configurable_bundle_endpoints/configurable_bundle/negative.robot index 6d9b05980..b09e1e3df 100644 --- a/tests/api/b2c/glue/configurable_bundle_endpoints/configurable_bundle/negative.robot +++ b/tests/api/b2c/glue/configurable_bundle_endpoints/configurable_bundle/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ###### POST ###### Add_configured_bundle_item_to_cart_non_existing_sku [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/b2c/glue/configurable_bundle_endpoints/configurable_bundle/positive.robot b/tests/api/b2c/glue/configurable_bundle_endpoints/configurable_bundle/positive.robot index 11cb8a0dd..7ad5cc716 100644 --- a/tests/api/b2c/glue/configurable_bundle_endpoints/configurable_bundle/positive.robot +++ b/tests/api/b2c/glue/configurable_bundle_endpoints/configurable_bundle/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Add_configured_bundle_item_to_the_cart_with_included_items [Setup] Run Keywords I get access token for the customer: ${yves_second_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/b2c/glue/configured_bundles_endpoints/configured_bundles_templates/negative.robot b/tests/api/b2c/glue/configured_bundles_endpoints/configured_bundles_templates/negative.robot index 3cebd367b..11e4654ba 100644 --- a/tests/api/b2c/glue/configured_bundles_endpoints/configured_bundles_templates/negative.robot +++ b/tests/api/b2c/glue/configured_bundles_endpoints/configured_bundles_templates/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_configurable_bundle_templates_by_invalid_configurable_bundle_template_id When I send a GET request: /configurable-bundle-templates/fake Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/configured_bundles_endpoints/configured_bundles_templates/positive.robot b/tests/api/b2c/glue/configured_bundles_endpoints/configured_bundles_templates/positive.robot index b670e503c..93c20e54a 100644 --- a/tests/api/b2c/glue/configured_bundles_endpoints/configured_bundles_templates/positive.robot +++ b/tests/api/b2c/glue/configured_bundles_endpoints/configured_bundles_templates/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_configurable_bundle_templates When I send a GET request: /configurable-bundle-templates Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/configured_bundles_endpoints/guest_configured_bundles/negative.robot b/tests/api/b2c/glue/configured_bundles_endpoints/guest_configured_bundles/negative.robot index 7fb7887f5..8052fbbed 100644 --- a/tests/api/b2c/glue/configured_bundles_endpoints/guest_configured_bundles/negative.robot +++ b/tests/api/b2c/glue/configured_bundles_endpoints/guest_configured_bundles/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ### POST ### Add_configured_bundle_with_nonexistent_guest_cart_id [Setup] I set Headers: Content-Type=${default_header_content_type} X-Anonymous-Customer-Unique-Id=${random} diff --git a/tests/api/b2c/glue/configured_bundles_endpoints/guest_configured_bundles/positive.robot b/tests/api/b2c/glue/configured_bundles_endpoints/guest_configured_bundles/positive.robot index 37f36e1bc..5d31a57c9 100644 --- a/tests/api/b2c/glue/configured_bundles_endpoints/guest_configured_bundles/positive.robot +++ b/tests/api/b2c/glue/configured_bundles_endpoints/guest_configured_bundles/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ### POST ### Add_configured_bundle_with_1_slot_1_product_new_cart [Setup] Run Keyword I set Headers: Content-Type=${default_header_content_type} X-Anonymous-Customer-Unique-Id=${random} diff --git a/tests/api/b2c/glue/content_endpoints/cms_pages/negative.robot b/tests/api/b2c/glue/content_endpoints/cms_pages/negative.robot index 0ab424abe..ccb9ae08b 100644 --- a/tests/api/b2c/glue/content_endpoints/cms_pages/negative.robot +++ b/tests/api/b2c/glue/content_endpoints/cms_pages/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_cms_page_list_by_fake_id When I send a GET request: /cms-pages/:cms Then Response status code should be: 404 @@ -14,7 +12,7 @@ Get_cms_page_list_by_fake_id And Response should return error code: 3801 And Response should return error message: Cms page not found. -Get_cms_page_list_by_wrond_id +Get_cms_page_list_by_wrong_id When I send a GET request: /cms-pages/${abstract_list.product_id} Then Response status code should be: 404 And Response reason should be: Not Found diff --git a/tests/api/b2c/glue/content_endpoints/cms_pages/positive.robot b/tests/api/b2c/glue/content_endpoints/cms_pages/positive.robot index 4f5dea668..3134a26a0 100644 --- a/tests/api/b2c/glue/content_endpoints/cms_pages/positive.robot +++ b/tests/api/b2c/glue/content_endpoints/cms_pages/positive.robot @@ -6,8 +6,6 @@ Resource ../../../../../../resources/steps/cms_steps.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_cms_pages_list When I send a GET request: /cms-pages Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/content_endpoints/content_banners/negative.robot b/tests/api/b2c/glue/content_endpoints/content_banners/negative.robot index 538f5f0f2..b52ad6d1b 100644 --- a/tests/api/b2c/glue/content_endpoints/content_banners/negative.robot +++ b/tests/api/b2c/glue/content_endpoints/content_banners/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_banner_without_id When I send a GET request: /content-banners Then Response status code should be: 400 diff --git a/tests/api/b2c/glue/content_endpoints/content_banners/positive.robot b/tests/api/b2c/glue/content_endpoints/content_banners/positive.robot index 6a3472d05..7494ca2ae 100644 --- a/tests/api/b2c/glue/content_endpoints/content_banners/positive.robot +++ b/tests/api/b2c/glue/content_endpoints/content_banners/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_banner When I send a GET request: /content-banners/${banner_1.id} Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/content_endpoints/content_product_abstract_lists/negative.robot b/tests/api/b2c/glue/content_endpoints/content_product_abstract_lists/negative.robot index 17c92ff8b..7aa15e113 100644 --- a/tests/api/b2c/glue/content_endpoints/content_product_abstract_lists/negative.robot +++ b/tests/api/b2c/glue/content_endpoints/content_product_abstract_lists/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_abstract_product_list_by_fake_id When I send a GET request: /content-product-abstract-lists/fake Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/content_endpoints/content_product_abstract_lists/positive.robot b/tests/api/b2c/glue/content_endpoints/content_product_abstract_lists/positive.robot index 25fe570e8..25e5c47a9 100644 --- a/tests/api/b2c/glue/content_endpoints/content_product_abstract_lists/positive.robot +++ b/tests/api/b2c/glue/content_endpoints/content_product_abstract_lists/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Abstract_product_list When I send a GET request: /content-product-abstract-lists/${abstract_list.product_id} Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/customer_endpoints/addresses/negative.robot b/tests/api/b2c/glue/customer_endpoints/addresses/negative.robot index 8192c04b8..4eb15f0e3 100644 --- a/tests/api/b2c/glue/customer_endpoints/addresses/negative.robot +++ b/tests/api/b2c/glue/customer_endpoints/addresses/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup ######POST##### Create_customer_address_with_missing_required_fields When I get access token for the customer: ${yves_user.email} diff --git a/tests/api/b2c/glue/customer_endpoints/addresses/positive.robot b/tests/api/b2c/glue/customer_endpoints/addresses/positive.robot index aa42fbe47..1489a3a0d 100644 --- a/tests/api/b2c/glue/customer_endpoints/addresses/positive.robot +++ b/tests/api/b2c/glue/customer_endpoints/addresses/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #####POST##### Create_customer_address_with_all_fields [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/b2c/glue/customer_endpoints/customer_access/negative.robot b/tests/api/b2c/glue/customer_endpoints/customer_access/negative.robot index a26800bc4..a456cb75d 100644 --- a/tests/api/b2c/glue/customer_endpoints/customer_access/negative.robot +++ b/tests/api/b2c/glue/customer_endpoints/customer_access/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Access_restricted_resource_as_not_authorized_customer I send a GET request: /wishlists Response status code should be: 403 diff --git a/tests/api/b2c/glue/customer_endpoints/customer_access/positive.robot b/tests/api/b2c/glue/customer_endpoints/customer_access/positive.robot index fc724dcdc..13ea97218 100644 --- a/tests/api/b2c/glue/customer_endpoints/customer_access/positive.robot +++ b/tests/api/b2c/glue/customer_endpoints/customer_access/positive.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Resources_list_which_customer_can_access I send a GET request: /customer-access Response status code should be: 200 diff --git a/tests/api/b2c/glue/customer_endpoints/customer_confirmation/negative.robot b/tests/api/b2c/glue/customer_endpoints/customer_confirmation/negative.robot index 047c67b86..5ea8b37b7 100644 --- a/tests/api/b2c/glue/customer_endpoints/customer_confirmation/negative.robot +++ b/tests/api/b2c/glue/customer_endpoints/customer_confirmation/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Customer_confirmation_with_wrong_confirmation_key When I send a POST request: /customer-confirmation {"data":{"type":"customer-confirmation","attributes":{"registrationKey":"39085d16b04b34265910c7ea2a35367ggh"}}} Then Response status code should be: 422 diff --git a/tests/api/b2c/glue/customer_endpoints/customer_confirmation/positive.robot b/tests/api/b2c/glue/customer_endpoints/customer_confirmation/positive.robot index 7c4f90cde..f414ffc86 100644 --- a/tests/api/b2c/glue/customer_endpoints/customer_confirmation/positive.robot +++ b/tests/api/b2c/glue/customer_endpoints/customer_confirmation/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Customer_confirmation [Setup] Run Keywords I send a POST request: /customers {"data":{"type":"customers","attributes":{"firstName":"${yves_third_user.first_name}","lastName":"${yves_third_user.last_name}","gender":"${gender.male}","salutation":"${yves_third_user.salutation}","email":"${yves_third_user.first_name}.${yves_third_user.last_name}${random}@spryker.com","password":"${yves_third_user.password_new}","confirmPassword":"${yves_third_user.password_new}","acceptedTerms":True}}} ... AND Response status code should be: 201 diff --git a/tests/api/b2c/glue/customer_endpoints/customer_forgotten_password/negative.robot b/tests/api/b2c/glue/customer_endpoints/customer_forgotten_password/negative.robot index 663be6144..e09c2c98c 100755 --- a/tests/api/b2c/glue/customer_endpoints/customer_forgotten_password/negative.robot +++ b/tests/api/b2c/glue/customer_endpoints/customer_forgotten_password/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Forgot_password_wrong_email_format I send a POST request: /customer-forgotten-password {"data":{"type":"customer-forgotten-password","attributes":{"email":"xyz"}}} Response status code should be: 422 diff --git a/tests/api/b2c/glue/customer_endpoints/customer_forgotten_password/positive.robot b/tests/api/b2c/glue/customer_endpoints/customer_forgotten_password/positive.robot index b26a8fc19..b1efb31d5 100755 --- a/tests/api/b2c/glue/customer_endpoints/customer_forgotten_password/positive.robot +++ b/tests/api/b2c/glue/customer_endpoints/customer_forgotten_password/positive.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Forgot_password_with_all_required_fields_and_valid_data I send a POST request: /customer-forgotten-password {"data":{"type":"customer-forgotten-password","attributes":{"email":"${yves_user.email}"}}} Response status code should be: 204 diff --git a/tests/api/b2c/glue/customer_endpoints/customer_password/negative.robot b/tests/api/b2c/glue/customer_endpoints/customer_password/negative.robot index 01b4d111a..e1f9b2c8e 100755 --- a/tests/api/b2c/glue/customer_endpoints/customer_password/negative.robot +++ b/tests/api/b2c/glue/customer_endpoints/customer_password/negative.robot @@ -5,9 +5,6 @@ Suite Setup API_suite_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Update_customer_password_with_not_equal_new_password Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/b2c/glue/customer_endpoints/customer_password/positive.robot b/tests/api/b2c/glue/customer_endpoints/customer_password/positive.robot index 59a1d87d2..9668f74cb 100755 --- a/tests/api/b2c/glue/customer_endpoints/customer_password/positive.robot +++ b/tests/api/b2c/glue/customer_endpoints/customer_password/positive.robot @@ -4,8 +4,6 @@ Test Setup API_test_setup Suite Setup API_suite_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Update_customer_password_with_all_required_fields_and_valid_data [Setup] Run Keywords I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_eighth_user.email}","password":"${yves_eighth_user.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/b2c/glue/customer_endpoints/customer_restore_password/negative.robot b/tests/api/b2c/glue/customer_endpoints/customer_restore_password/negative.robot index f0004caf3..4d8679914 100755 --- a/tests/api/b2c/glue/customer_endpoints/customer_restore_password/negative.robot +++ b/tests/api/b2c/glue/customer_endpoints/customer_restore_password/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Restore_password_without_customer_id I send a PATCH request: /customer-restore-password/ {"data":{"type":"customer-restore-password","attributes":{"restorePasswordKey":"5ec608df9c0dd57c3dd08b540d4a68da","password":"${yves_user.password}","confirmPassword":"${yves_user.password}"}}} And Response status code should be: 400 diff --git a/tests/api/b2c/glue/customer_endpoints/customer_restore_password/positive.robot b/tests/api/b2c/glue/customer_endpoints/customer_restore_password/positive.robot index 5481dde2a..a87eade22 100755 --- a/tests/api/b2c/glue/customer_endpoints/customer_restore_password/positive.robot +++ b/tests/api/b2c/glue/customer_endpoints/customer_restore_password/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Restore_password_with_all_required_fields_and_valid_data [Setup] Run Keywords I send a POST request: /customers/ {"data":{"type":"customers","attributes":{"firstName":"${yves_ninth_user.first_name}","lastName":"${yves_ninth_user.last_name}","gender":"${gender.female}","salutation":"${yves_ninth_user.salutation}","email":"${email.name}${random}${email.domain}","password":"${yves_ninth_user.password}","confirmPassword":"${yves_ninth_user.password}","acceptedTerms":True}}} ... AND Response status code should be: 201 diff --git a/tests/api/b2c/glue/discount_endpoints/vouchers/negative.robot b/tests/api/b2c/glue/discount_endpoints/vouchers/negative.robot index 5e23f5adf..28f66a43e 100644 --- a/tests/api/b2c/glue/discount_endpoints/vouchers/negative.robot +++ b/tests/api/b2c/glue/discount_endpoints/vouchers/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Add_voucher_code_to_cart_with_invalid_access_token [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/b2c/glue/discount_endpoints/vouchers/positive.robot b/tests/api/b2c/glue/discount_endpoints/vouchers/positive.robot index 5ca8ba85e..39a3986fd 100644 --- a/tests/api/b2c/glue/discount_endpoints/vouchers/positive.robot +++ b/tests/api/b2c/glue/discount_endpoints/vouchers/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Add_voucher_code_to_cart [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/b2c/glue/general_product_endpoints/product_labels/negative.robot b/tests/api/b2c/glue/general_product_endpoints/product_labels/negative.robot index 68da05b65..ab61c3ccd 100644 --- a/tests/api/b2c/glue/general_product_endpoints/product_labels/negative.robot +++ b/tests/api/b2c/glue/general_product_endpoints/product_labels/negative.robot @@ -5,10 +5,7 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_product_label_with_invalid_label_id When I send a GET request: /product-labels/fake Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/general_product_endpoints/product_labels/positive.robot b/tests/api/b2c/glue/general_product_endpoints/product_labels/positive.robot index 5c62c9201..ad5ac1cb7 100644 --- a/tests/api/b2c/glue/general_product_endpoints/product_labels/positive.robot +++ b/tests/api/b2c/glue/general_product_endpoints/product_labels/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - Get_new_product_label_by_id When I send a GET request: /product-labels/${label.new_id} Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/general_product_endpoints/product_management_attributes/negative.robot b/tests/api/b2c/glue/general_product_endpoints/product_management_attributes/negative.robot index b3689cd6d..69f502dbb 100644 --- a/tests/api/b2c/glue/general_product_endpoints/product_management_attributes/negative.robot +++ b/tests/api/b2c/glue/general_product_endpoints/product_management_attributes/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_an_attribute_with_non_existent_attribute_id When I send a GET request: /product-management-attributes/fake Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/general_product_endpoints/product_management_attributes/positive.robot b/tests/api/b2c/glue/general_product_endpoints/product_management_attributes/positive.robot index 90ee1b8de..b8c96b5f5 100644 --- a/tests/api/b2c/glue/general_product_endpoints/product_management_attributes/positive.robot +++ b/tests/api/b2c/glue/general_product_endpoints/product_management_attributes/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_all_product_management_attributes When I send a GET request: /product-management-attributes Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/general_product_endpoints/product_reviews/negative.robot b/tests/api/b2c/glue/general_product_endpoints/product_reviews/negative.robot index 3c9775832..ba7940603 100644 --- a/tests/api/b2c/glue/general_product_endpoints/product_reviews/negative.robot +++ b/tests/api/b2c/glue/general_product_endpoints/product_reviews/negative.robot @@ -5,10 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** - -ENABLER - API_test_setup - Get_a_review_with_non_existent_review_id When I send a GET request: /abstract-products/${abstract_product.with_reviews.sku}/product-reviews/fake Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/general_product_endpoints/product_reviews/positive.robot b/tests/api/b2c/glue/general_product_endpoints/product_reviews/positive.robot index 97c77d2c4..5b3700c9b 100644 --- a/tests/api/b2c/glue/general_product_endpoints/product_reviews/positive.robot +++ b/tests/api/b2c/glue/general_product_endpoints/product_reviews/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - Get_product_reviews When I send a GET request: /abstract-products/${abstract_product.with_reviews.sku}/product-reviews Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/general_product_endpoints/product_tax_sets/negative.robot b/tests/api/b2c/glue/general_product_endpoints/product_tax_sets/negative.robot index 62b450434..5b6a54b98 100644 --- a/tests/api/b2c/glue/general_product_endpoints/product_tax_sets/negative.robot +++ b/tests/api/b2c/glue/general_product_endpoints/product_tax_sets/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_a_tax_set_with_concrete_sku When I send a GET request: /abstract-products/${concrete_available_product.sku}/product-tax-sets Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/general_product_endpoints/product_tax_sets/positive.robot b/tests/api/b2c/glue/general_product_endpoints/product_tax_sets/positive.robot index f8592efdf..5f8ed740c 100644 --- a/tests/api/b2c/glue/general_product_endpoints/product_tax_sets/positive.robot +++ b/tests/api/b2c/glue/general_product_endpoints/product_tax_sets/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_tax sets When I send a GET request: /abstract-products/${abstract_product.with_reviews.sku}/product-tax-sets Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/general_product_endpoints/related_products/negative.robot b/tests/api/b2c/glue/general_product_endpoints/related_products/negative.robot index cfa3db9d3..23a140683 100644 --- a/tests/api/b2c/glue/general_product_endpoints/related_products/negative.robot +++ b/tests/api/b2c/glue/general_product_endpoints/related_products/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_related_products_without_abstract_SKU When I send a GET request: /abstract-products//related-products Then Response status code should be: 400 diff --git a/tests/api/b2c/glue/general_product_endpoints/related_products/positive.robot b/tests/api/b2c/glue/general_product_endpoints/related_products/positive.robot index 45c0f31a2..7f853439c 100644 --- a/tests/api/b2c/glue/general_product_endpoints/related_products/positive.robot +++ b/tests/api/b2c/glue/general_product_endpoints/related_products/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Product_has_related_products When I send a GET request: /abstract-products/${concrete_available_product.with_stock_one_concrete_with_superattribute.sku}/related-products Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/general_product_endpoints/upselling_products/negative.robot b/tests/api/b2c/glue/general_product_endpoints/upselling_products/negative.robot index c0ed0a489..15db4d564 100644 --- a/tests/api/b2c/glue/general_product_endpoints/upselling_products/negative.robot +++ b/tests/api/b2c/glue/general_product_endpoints/upselling_products/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #Logged in customer's cart Get_upselling_products_with_missing_cart_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/b2c/glue/general_product_endpoints/upselling_products/positive.robot b/tests/api/b2c/glue/general_product_endpoints/upselling_products/positive.robot index 74659c510..24c5638a8 100644 --- a/tests/api/b2c/glue/general_product_endpoints/upselling_products/positive.robot +++ b/tests/api/b2c/glue/general_product_endpoints/upselling_products/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #Logged in customer's cart Get_upselling_products diff --git a/tests/api/b2c/glue/navigation_endpoints/navigations/negative.robot b/tests/api/b2c/glue/navigation_endpoints/navigations/negative.robot index f9dbc2075..2a78acaaf 100644 --- a/tests/api/b2c/glue/navigation_endpoints/navigations/negative.robot +++ b/tests/api/b2c/glue/navigation_endpoints/navigations/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Get_navigations_by_non_exist_id When I send a GET request: /navigations/testNonExistNavigations Then Response status code should be: 404 diff --git a/tests/api/b2c/glue/navigation_endpoints/navigations/positive.robot b/tests/api/b2c/glue/navigation_endpoints/navigations/positive.robot index 42171b0c5..836bdc7b6 100644 --- a/tests/api/b2c/glue/navigation_endpoints/navigations/positive.robot +++ b/tests/api/b2c/glue/navigation_endpoints/navigations/positive.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup To_retrieve_a_navigation_tree When I send a GET request: /navigations/MAIN_NAVIGATION Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/order_endpoints/orders/negative.robot b/tests/api/b2c/glue/order_endpoints/orders/negative.robot index 7e3d6214e..05c3618ae 100644 --- a/tests/api/b2c/glue/order_endpoints/orders/negative.robot +++ b/tests/api/b2c/glue/order_endpoints/orders/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup #GET requests Get_order_by_order_id_with_invalid_access_token [Setup] I set Headers: Authorization=fake_token diff --git a/tests/api/b2c/glue/order_endpoints/orders/positive.robot b/tests/api/b2c/glue/order_endpoints/orders/positive.robot index 81d21d6b9..508aa9d2c 100644 --- a/tests/api/b2c/glue/order_endpoints/orders/positive.robot +++ b/tests/api/b2c/glue/order_endpoints/orders/positive.robot @@ -5,10 +5,7 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup # #GET requests - Get_order_by_order_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/b2c/glue/return_endpoints/return_reasons/positive.robot b/tests/api/b2c/glue/return_endpoints/return_reasons/positive.robot index f32fcc44e..fa559a537 100644 --- a/tests/api/b2c/glue/return_endpoints/return_reasons/positive.robot +++ b/tests/api/b2c/glue/return_endpoints/return_reasons/positive.robot @@ -6,8 +6,6 @@ Test Tags glue *** Test Cases *** #GET requests -ENABLER - API_test_setup Get_return_reason When I send a GET request: /return-reasons Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/return_endpoints/returns/negative.robot b/tests/api/b2c/glue/return_endpoints/returns/negative.robot index 3031f1193..c65fe065e 100644 --- a/tests/api/b2c/glue/return_endpoints/returns/negative.robot +++ b/tests/api/b2c/glue/return_endpoints/returns/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - ####POST#### Create_a_return_with_Invalid_access_token [Setup] I set Headers: Authorization=3485h7 diff --git a/tests/api/b2c/glue/return_endpoints/returns/positive.robot b/tests/api/b2c/glue/return_endpoints/returns/positive.robot index 2d8e5ff75..cccd1b609 100644 --- a/tests/api/b2c/glue/return_endpoints/returns/positive.robot +++ b/tests/api/b2c/glue/return_endpoints/returns/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - ####POST#### Create_a_return [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/b2c/glue/search_endpoints/catalog_search/negative.robot b/tests/api/b2c/glue/search_endpoints/catalog_search/negative.robot index 897476f6a..089d59c4e 100644 --- a/tests/api/b2c/glue/search_endpoints/catalog_search/negative.robot +++ b/tests/api/b2c/glue/search_endpoints/catalog_search/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Search_without_query_parameter [Documentation] # bug https://spryker.atlassian.net/browse/CC-15983 [Tags] skip-due-to-issue diff --git a/tests/api/b2c/glue/search_endpoints/catalog_search/positive.robot b/tests/api/b2c/glue/search_endpoints/catalog_search/positive.robot index 6a68a3d0d..c370d7cf3 100644 --- a/tests/api/b2c/glue/search_endpoints/catalog_search/positive.robot +++ b/tests/api/b2c/glue/search_endpoints/catalog_search/positive.robot @@ -5,11 +5,7 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - ##### SEARCH PARAMETERS ##### -ENABLER - API_test_setup - Search_with_empty_search_criteria_all_default_values_check When I send a GET request: /catalog-search?q= Then Response status code should be: 200 diff --git a/tests/api/b2c/glue/utility_endpoints/health_checks/negative.robot b/tests/api/b2c/glue/utility_endpoints/health_checks/negative.robot index 612a48fa5..721283783 100644 --- a/tests/api/b2c/glue/utility_endpoints/health_checks/negative.robot +++ b/tests/api/b2c/glue/utility_endpoints/health_checks/negative.robot @@ -5,10 +5,7 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #GET requests - ### Precondition: To run commented tests need to enable service endpoints and uncomment tests ### To enable the endpoints, add the following to /config/Shared/config_default.php: ### use Spryker\Shared\HealthCheck\HealthCheckConstants;$config[HealthCheckConstants::HEALTH_CHECK_ENABLED] = true; diff --git a/tests/api/b2c/glue/utility_endpoints/health_checks/positive.robot b/tests/api/b2c/glue/utility_endpoints/health_checks/positive.robot index 105347979..de2262d96 100644 --- a/tests/api/b2c/glue/utility_endpoints/health_checks/positive.robot +++ b/tests/api/b2c/glue/utility_endpoints/health_checks/positive.robot @@ -6,9 +6,6 @@ Test Tags glue *** Test Cases *** #GET requests - -ENABLER - API_test_setup ### Precondition: To run commented tests need to enable service endpoints and uncomment tests ### To enable the endpoints, add the following to /config/Shared/config_default.php: ### Spryker\Shared\HealthCheck\HealthCheckConstants;$config[HealthCheckConstants::HEALTH_CHECK_ENABLED] = true; diff --git a/tests/api/b2c/glue/utility_endpoints/stores/negative.robot b/tests/api/b2c/glue/utility_endpoints/stores/negative.robot index 4d4a20dcf..543ab4cb7 100644 --- a/tests/api/b2c/glue/utility_endpoints/stores/negative.robot +++ b/tests/api/b2c/glue/utility_endpoints/stores/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_store_by_non_exist_id [Tags] dms-off [Documentation] https://spryker.atlassian.net/browse/FRW-7427 Test has been skipped for dms-on shop. discussed with Platform team. Bug has low priority can be not fixed soon. diff --git a/tests/api/b2c/glue/utility_endpoints/stores/positive.robot b/tests/api/b2c/glue/utility_endpoints/stores/positive.robot index 01c44a948..7f64040fb 100644 --- a/tests/api/b2c/glue/utility_endpoints/stores/positive.robot +++ b/tests/api/b2c/glue/utility_endpoints/stores/positive.robot @@ -5,10 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - #get Get_all_availiable_stores [Tags] dms-off diff --git a/tests/api/b2c/glue/utility_endpoints/url_resolver/negative.robot b/tests/api/b2c/glue/utility_endpoints/url_resolver/negative.robot index d3043636b..2dd8667ae 100644 --- a/tests/api/b2c/glue/utility_endpoints/url_resolver/negative.robot +++ b/tests/api/b2c/glue/utility_endpoints/url_resolver/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Test Tags glue Resource ../../../../../../resources/common/common_api.robot -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_url_collection_by_empty_url When I send a GET request: /url-resolver Then Response status code should be: 422 diff --git a/tests/api/b2c/glue/utility_endpoints/url_resolver/positive.robot b/tests/api/b2c/glue/utility_endpoints/url_resolver/positive.robot index c2917ec03..5f2f71da6 100644 --- a/tests/api/b2c/glue/utility_endpoints/url_resolver/positive.robot +++ b/tests/api/b2c/glue/utility_endpoints/url_resolver/positive.robot @@ -6,9 +6,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - Get_url_collections_by_url_paramater_of_category_nodes [Documentation] #CC-16595 API: ID is missing from url resolver. [Tags] skip-due-to-issue diff --git a/tests/api/b2c/glue/wishlist_endpoints/wishlist_items/negative.robot b/tests/api/b2c/glue/wishlist_endpoints/wishlist_items/negative.robot index 405aff488..78fce2d50 100644 --- a/tests/api/b2c/glue/wishlist_endpoints/wishlist_items/negative.robot +++ b/tests/api/b2c/glue/wishlist_endpoints/wishlist_items/negative.robot @@ -5,10 +5,7 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #Post - Adding_item_in_wishlist_by_invalid_Access_Token [Setup] I set Headers: Authorization=3485h7 When I send a POST request: /wishlists {"data": { "type": "wishlists","attributes": { "name": "${wishlist_name}"} }} @@ -85,7 +82,7 @@ Adding_item_after_enter_space_in_sku [Teardown] Run Keywords I send a DELETE request: /wishlists/${wishlist_reference_id} ... AND Response status code should be: 204 -Adding_item_with_invalid_wishilist_id +Adding_item_with_invalid_wishlist_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} When I send a POST request: /wishlists/Mywishlist/wishlist-items {"data": {"type": "wishlist-items","attributes": {"sku": "${product_availability.concrete_available_product_with_stock}"}}} @@ -94,7 +91,7 @@ Adding_item_with_invalid_wishilist_id And Response should return error code: 206 And Response should return error message: "Cant add an item." -Adding_item_without_wishilist_id +Adding_item_without_wishlist_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} When I send a POST request: /wishlists//wishlist-items {"data": {"type": "wishlist-items","attributes": {"sku": "${product_availability.concrete_available_product_with_stock}"}}} @@ -218,7 +215,7 @@ Delete_wishlist_item_from_already_deleted_wishlist And Response should return error code: 201 And Response should return error message: "Cant find wishlist." -Deleting_item_with_invalid_wishilist_id +Deleting_item_with_invalid_wishlist_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} When I send a DELETE request: /wishlists/Mywishlist/wishlist-items/${product_availability.concrete_available_product_with_stock} @@ -227,7 +224,7 @@ Deleting_item_with_invalid_wishilist_id And Response should return error code: 201 And Response should return error message: "Cant find wishlist." -Deleting_item_without_wishilist_id +Deleting_item_without_wishlist_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} When I send a DELETE request: /wishlists//wishlist-items/${product_availability.concrete_available_product_with_stock} @@ -349,7 +346,7 @@ Add_a_configurable_product_with_empty_availableQuantity_value_of_to_the_wishlist ... AND Response reason should be: No Content -Add_aconfigurable_product_with_missing_availableQuantity_value_of_to_the_wishlist +Add_configurable_product_with_missing_availableQuantity_value_of_to_the_wishlist [Documentation] https://spryker.atlassian.net/browse/CC-25381 [Tags] skip-due-to-issue [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/b2c/glue/wishlist_endpoints/wishlist_items/positive.robot b/tests/api/b2c/glue/wishlist_endpoints/wishlist_items/positive.robot index 37c112ffd..292a458bc 100644 --- a/tests/api/b2c/glue/wishlist_endpoints/wishlist_items/positive.robot +++ b/tests/api/b2c/glue/wishlist_endpoints/wishlist_items/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #Post Adding_item_in_wishlist diff --git a/tests/api/b2c/glue/wishlist_endpoints/wishlists/negative.robot b/tests/api/b2c/glue/wishlist_endpoints/wishlists/negative.robot index a578c1918..82bf701e2 100644 --- a/tests/api/b2c/glue/wishlist_endpoints/wishlists/negative.robot +++ b/tests/api/b2c/glue/wishlist_endpoints/wishlists/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #Get_request Getting_wishlist_by_invalid_Access_Token [Setup] I set Headers: Authorization=3485h7 diff --git a/tests/api/b2c/glue/wishlist_endpoints/wishlists/positive.robot b/tests/api/b2c/glue/wishlist_endpoints/wishlists/positive.robot index c42f1b186..7f8beb184 100644 --- a/tests/api/b2c/glue/wishlist_endpoints/wishlists/positive.robot +++ b/tests/api/b2c/glue/wishlist_endpoints/wishlists/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #GET Request Retrieves_all_customer_wishlists [Setup] Run Keywords I GET access token for the customer: ${yves_user.email} @@ -67,7 +65,7 @@ Retrieves_wishlist_with_items ... AND Response status code should be: 204 #Get Request -Retrieves_wishlist_with_items_in_concreate +Retrieves_wishlist_with_items_in_concrete [Setup] Run Keywords I GET access token for the customer: ${yves_user.email} ... AND I set headers: authorization=${token} ... AND I send a Post request: /wishlists {"data": {"type": "wishlists","attributes": {"name": "${wishlist_name}"}}} diff --git a/tests/api/b2c/sapi/utility_endpoints/stores/negative.robot b/tests/api/b2c/sapi/utility_endpoints/stores/negative.robot index a388f07ff..6da845a55 100644 --- a/tests/api/b2c/sapi/utility_endpoints/stores/negative.robot +++ b/tests/api/b2c/sapi/utility_endpoints/stores/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags sapi *** Test Cases *** -ENABLER - API_test_setup - Get_store_by_non_exist_id And I set Headers: Content-Type=${default_header_content_type} When I send a GET request: /stores/NON_EXIST_STORE diff --git a/tests/api/b2c/sapi/utility_endpoints/stores/positive.robot b/tests/api/b2c/sapi/utility_endpoints/stores/positive.robot index a7cdd7f3e..4ff5077b8 100644 --- a/tests/api/b2c/sapi/utility_endpoints/stores/positive.robot +++ b/tests/api/b2c/sapi/utility_endpoints/stores/positive.robot @@ -5,10 +5,7 @@ Test Setup API_test_setup Test Tags sapi *** Test Cases *** - -ENABLER - API_test_setup -Get_all_availiable_stores +Get_all_available_stores And I set Headers: Content-Type=${default_header_content_type} When I send a GET request: /stores Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/bapi/dynamic_entity/complex/negative.robot b/tests/api/mp_b2b/bapi/dynamic_entity/complex/negative.robot index c1ff60710..e1c1ea47e 100644 --- a/tests/api/mp_b2b/bapi/dynamic_entity/complex/negative.robot +++ b/tests/api/mp_b2b/bapi/dynamic_entity/complex/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_product_abstract_collection_with_invalid_query_parameter: ### SETUP DYNAMIC ENTITY CONFIGURATION AND RELATION ### Delete dynamic entity configuration relation in Database: robotTestsCategories diff --git a/tests/api/mp_b2b/bapi/dynamic_entity/complex/positive.robot b/tests/api/mp_b2b/bapi/dynamic_entity/complex/positive.robot index 1b3858f40..d1f5f3a2e 100644 --- a/tests/api/mp_b2b/bapi/dynamic_entity/complex/positive.robot +++ b/tests/api/mp_b2b/bapi/dynamic_entity/complex/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_product_abstract_collection_with_childs: ### SETUP DYNAMIC ENTITY CONFIGURATION AND RELATION ### Delete dynamic entity configuration relation in Database: robotTestsCategories diff --git a/tests/api/mp_b2b/bapi/dynamic_entity/negative.robot b/tests/api/mp_b2b/bapi/dynamic_entity/negative.robot index 6b90d804f..cee64e5d6 100644 --- a/tests/api/mp_b2b/bapi/dynamic_entity/negative.robot +++ b/tests/api/mp_b2b/bapi/dynamic_entity/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_list_of_country_with_invalid_token ### SETUP DYNAMIC ENTITY CONFIGURATION ### Delete dynamic entity configuration in Database: robot-test-countries diff --git a/tests/api/mp_b2b/bapi/dynamic_entity/positive.robot b/tests/api/mp_b2b/bapi/dynamic_entity/positive.robot index a3c02072b..0dbed8df5 100644 --- a/tests/api/mp_b2b/bapi/dynamic_entity/positive.robot +++ b/tests/api/mp_b2b/bapi/dynamic_entity/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/dynamic_entity_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_country_collection ### SETUP DYNAMIC ENTITY CONFIGURATION ### Delete dynamic entity configuration in Database: robot-test-countries diff --git a/tests/api/mp_b2b/dynamic_store/search_endpoints/catalog_search/positive.robot b/tests/api/mp_b2b/dynamic_store/search_endpoints/catalog_search/positive.robot index 09c122149..ff9a04739 100644 --- a/tests/api/mp_b2b/dynamic_store/search_endpoints/catalog_search/positive.robot +++ b/tests/api/mp_b2b/dynamic_store/search_endpoints/catalog_search/positive.robot @@ -6,9 +6,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - # SEARCH PARAMETERS # diff --git a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot index 9669be5be..1dc27a922 100644 --- a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot +++ b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_alternative_abstract_with_nonexistant_SKU When I send a GET request: /concrete-products/fake/abstract-alternative-products Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot index 2f47d1f3b..2879e5b4f 100644 --- a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot +++ b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Product_has_abstract_alternative When I send a GET request: /concrete-products/${concrete_product_with_alternative.sku}/abstract-alternative-products Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot index 357341839..74c5bc608 100644 --- a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot +++ b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_abstract_availability_by_concrete_SKU When I send a GET request: /abstract-products/${concrete_product_with_alternative.sku}/abstract-product-availabilities Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot index f89c525b9..9154df25a 100644 --- a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot +++ b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Product_is_available_with_stock_and_never_out_of_stock When I send a GET request: /abstract-products/${abstract_product.product_availability.product_3.abstract_available_with_stock_and_never_out_of_stock}/abstract-product-availabilities Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot index db65b9685..e7b70cfa4 100644 --- a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot +++ b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_abstract_image_sets_by_concrete_SKU When I send a GET request: /abstract-products/${concrete_product_with_alternative.sku}/abstract-product-image-sets Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot index 200eb4506..29313daf1 100644 --- a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot +++ b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_abstract_image_sets_with_1_concrete When I send a GET request: /abstract-products/${abstract_product.product_availability.abstract_available_with_stock_and_never_out_of_stock}/abstract-product-image-sets Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_prices/negative.robot b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_prices/negative.robot index 5eba14b29..9ea4ba08b 100644 --- a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_prices/negative.robot +++ b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_prices/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_prices_by_concrete_SKU [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_prices/positive.robot b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_prices/positive.robot index 03dc865b2..284c71762 100644 --- a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_prices/positive.robot +++ b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_product_prices/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_abstract_prices_detault_only [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_products/negative.robot b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_products/negative.robot index 97d4e58f5..47f60f2a9 100755 --- a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_products/negative.robot +++ b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_products/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_product_by_concrete_SKU When I send a GET request: /abstract-products/${concrete_product_with_alternative.sku} Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_products/positive.robot b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_products/positive.robot index 111aee039..0433c3f34 100755 --- a/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_products/positive.robot +++ b/tests/api/mp_b2b/glue/abstract_product_endpoints/abstract_products/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_product_with_one_concrete When I send a GET request: /abstract-products/${abstract_available_product_with_stock.sku} Then Response status code should be: 200 @@ -208,4 +205,16 @@ Get_abstract_product_with_merchants_included And Response body parameter should be: [included][0][attributes][contactPersonPhone] ${merchants.contact_spryker_person_phone} And Response body parameter should be: [included][0][attributes][publicEmail] ${merchants.spryker_public_email} And Response body parameter should be: [included][0][attributes][publicPhone] ${merchants.spryker_public_phone} - And Response body parameter should be: [included][0][attributes][description] ${merchants.description_spryker} \ No newline at end of file + And Response body parameter should be: [included][0][attributes][description] ${merchants.description_spryker} + +Abstract_product_in_different_locales_languages + When I set Headers: Accept-Language=de-DE + And I send a GET request: /abstract-products/${abstract_product.product_in_different_locales.sku} + Then Response status code should be: 200 + And Response reason should be: OK + And Response body parameter should contain: [data][attributes][description] ${abstract_product.product_in_different_locales.description_de} + When I set Headers: Accept-Language=en-US + And I send a GET request: /abstract-products/${abstract_product.product_in_different_locales.sku} + Then Response status code should be: 200 + And Response reason should be: OK + And Response body parameter should contain: [data][attributes][description] ${abstract_product.product_in_different_locales.description_en} \ No newline at end of file diff --git a/tests/api/mp_b2b/glue/access_token_endpoints/access_tokens/negative.robot b/tests/api/mp_b2b/glue/access_token_endpoints/access_tokens/negative.robot index 862903fef..062e8e200 100644 --- a/tests/api/mp_b2b/glue/access_token_endpoints/access_tokens/negative.robot +++ b/tests/api/mp_b2b/glue/access_token_endpoints/access_tokens/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_acess_token_with_invalid_password When I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_second_user.email}","password":"fake"}}} Then Response status code should be: 401 diff --git a/tests/api/mp_b2b/glue/access_token_endpoints/access_tokens/positive.robot b/tests/api/mp_b2b/glue/access_token_endpoints/access_tokens/positive.robot index 958d0bf5f..b53483f2a 100644 --- a/tests/api/mp_b2b/glue/access_token_endpoints/access_tokens/positive.robot +++ b/tests/api/mp_b2b/glue/access_token_endpoints/access_tokens/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_access_token_for_customer When I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_user.email}","password":"${yves_user.password}"}}} Then Response status code should be: 201 diff --git a/tests/api/mp_b2b/glue/access_token_endpoints/refresh_tokens/negative.robot b/tests/api/mp_b2b/glue/access_token_endpoints/refresh_tokens/negative.robot index e1e30b80b..38242e7bb 100644 --- a/tests/api/mp_b2b/glue/access_token_endpoints/refresh_tokens/negative.robot +++ b/tests/api/mp_b2b/glue/access_token_endpoints/refresh_tokens/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** #######POST####### Refresh_token_with_access_token [Setup] I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/access_token_endpoints/refresh_tokens/positive.robot b/tests/api/mp_b2b/glue/access_token_endpoints/refresh_tokens/positive.robot index 295a55023..a76fe8043 100644 --- a/tests/api/mp_b2b/glue/access_token_endpoints/refresh_tokens/positive.robot +++ b/tests/api/mp_b2b/glue/access_token_endpoints/refresh_tokens/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Refresh_access_token_for_customer [Setup] Run Keywords I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_user.email}","password":"${yves_user.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/mp_b2b/glue/access_token_endpoints/token/negative.robot b/tests/api/mp_b2b/glue/access_token_endpoints/token/negative.robot index a00cb4251..32d4e0471 100644 --- a/tests/api/mp_b2b/glue/access_token_endpoints/token/negative.robot +++ b/tests/api/mp_b2b/glue/access_token_endpoints/token/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_token_for_customer_with_invalid_grant_type When I set Headers: Content-Type=${urlencoded_header_content_type} Then I send a POST request with data: /token {"grant_type": "invalid_grant_type","username": "${yves_user.email}","password": "${yves_user.password}"} diff --git a/tests/api/mp_b2b/glue/access_token_endpoints/token/positive.robot b/tests/api/mp_b2b/glue/access_token_endpoints/token/positive.robot index f6ba8f3bb..b249531e8 100644 --- a/tests/api/mp_b2b/glue/access_token_endpoints/token/positive.robot +++ b/tests/api/mp_b2b/glue/access_token_endpoints/token/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_token_for_customer I set Headers: Content-Type=${urlencoded_header_content_type} I send a POST request with data: /token {"grant_type": "${grant_type.password}","username": "${yves_user.email}","password": "${yves_user.password}"} diff --git a/tests/api/mp_b2b/glue/agent_endpoints/agent_access_token/negative.robot b/tests/api/mp_b2b/glue/agent_endpoints/agent_access_token/negative.robot index aaaad40f9..be61c073c 100644 --- a/tests/api/mp_b2b/glue/agent_endpoints/agent_access_token/negative.robot +++ b/tests/api/mp_b2b/glue/agent_endpoints/agent_access_token/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_agent_token_for_user_who_is_not_agent When I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${non_agent.email}","password": "${non_agent.password}"}}} Then Response status code should be: 401 diff --git a/tests/api/mp_b2b/glue/agent_endpoints/agent_access_token/positive.robot b/tests/api/mp_b2b/glue/agent_endpoints/agent_access_token/positive.robot index 6f90dcde0..ee7d1a535 100644 --- a/tests/api/mp_b2b/glue/agent_endpoints/agent_access_token/positive.robot +++ b/tests/api/mp_b2b/glue/agent_endpoints/agent_access_token/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_can_get_access_token When I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} Then Response status code should be: 201 diff --git a/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot b/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot index 992940e03..49ad9da21 100644 --- a/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot +++ b/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Agent_cannot_impersonate_customer_with_no_agent_token When I send a POST request: /agent-customer-impersonation-access-tokens {"data": {"type": "agent-customer-impersonation-access-tokens","attributes":{"customerReference": "${yves_user.reference}"}}} Then Response status code should be: 401 diff --git a/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot b/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot index 6024d43bb..25ebf213b 100644 --- a/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot +++ b/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Agent_can_get_customer_impersonation_token [Setup] Run Keywords I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_search/negative.robot b/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_search/negative.robot index f446fdfb0..3c2538cf7 100755 --- a/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_search/negative.robot +++ b/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_search/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Agent_searches_for_customers_with_no_token When I send a GET request: /agent-customer-search Then Response status code should be: 401 diff --git a/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_search/positive.robot b/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_search/positive.robot index 9849f9da3..70172afcf 100755 --- a/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_search/positive.robot +++ b/tests/api/mp_b2b/glue/agent_endpoints/agent_customer_search/positive.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Agent_can_get_search_for_customers_without_search_parameters [Setup] Run Keywords I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/mp_b2b/glue/availability_endpoints/availability_notifications/negative.robot b/tests/api/mp_b2b/glue/availability_endpoints/availability_notifications/negative.robot index 39d92e766..eb40fc0cf 100644 --- a/tests/api/mp_b2b/glue/availability_endpoints/availability_notifications/negative.robot +++ b/tests/api/mp_b2b/glue/availability_endpoints/availability_notifications/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** #GET requests Get_availability_notifications_without_customerId [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/availability_endpoints/availability_notifications/positive.robot b/tests/api/mp_b2b/glue/availability_endpoints/availability_notifications/positive.robot index bc97b5ef0..d16b09e4c 100644 --- a/tests/api/mp_b2b/glue/availability_endpoints/availability_notifications/positive.robot +++ b/tests/api/mp_b2b/glue/availability_endpoints/availability_notifications/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** #GET requests Get_availability_notifications_for_customer [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/availability_endpoints/my_availability_notifications/negative.robot b/tests/api/mp_b2b/glue/availability_endpoints/my_availability_notifications/negative.robot index f4de704e7..a91257dc1 100644 --- a/tests/api/mp_b2b/glue/availability_endpoints/my_availability_notifications/negative.robot +++ b/tests/api/mp_b2b/glue/availability_endpoints/my_availability_notifications/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_my_availability_notifications_with_missing_auth_token When I send a GET request: /my-availability-notifications Then Response status code should be: 403 diff --git a/tests/api/mp_b2b/glue/availability_endpoints/my_availability_notifications/positive.robot b/tests/api/mp_b2b/glue/availability_endpoints/my_availability_notifications/positive.robot index 18d0a0ab2..2e44912d4 100644 --- a/tests/api/mp_b2b/glue/availability_endpoints/my_availability_notifications/positive.robot +++ b/tests/api/mp_b2b/glue/availability_endpoints/my_availability_notifications/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_my_availability_notifications [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/mp_b2b/glue/bundle_endpoints/bundled_products/negative.robot b/tests/api/mp_b2b/glue/bundle_endpoints/bundled_products/negative.robot index 9d19ebb6d..84ed5db85 100644 --- a/tests/api/mp_b2b/glue/bundle_endpoints/bundled_products/negative.robot +++ b/tests/api/mp_b2b/glue/bundle_endpoints/bundled_products/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_bundled_products_with_nonexisting_concrete_sku [Documentation] there is a bug - https://spryker.atlassian.net/browse/CC-15994 [Tags] skip-due-to-issue diff --git a/tests/api/mp_b2b/glue/bundle_endpoints/bundled_products/positive.robot b/tests/api/mp_b2b/glue/bundle_endpoints/bundled_products/positive.robot index d0cd34e7a..8c6b3fd3d 100644 --- a/tests/api/mp_b2b/glue/bundle_endpoints/bundled_products/positive.robot +++ b/tests/api/mp_b2b/glue/bundle_endpoints/bundled_products/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_concrete_bundled_products_inside_concrete_bundle [Documentation] no demo data - https://spryker.atlassian.net/browse/MP-6888; product bundles aren`t supported on b2b-mp for now [Tags] skip-due-to-issue diff --git a/tests/api/mp_b2b/glue/cart_endpoints/cart_permssion_groups/negitive.robot b/tests/api/mp_b2b/glue/cart_endpoints/cart_permssion_groups/negitive.robot index 50c5469e9..17a93a8a0 100644 --- a/tests/api/mp_b2b/glue/cart_endpoints/cart_permssion_groups/negitive.robot +++ b/tests/api/mp_b2b/glue/cart_endpoints/cart_permssion_groups/negitive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_cart_permission_group_with_unauthenicated_user When I send a GET request: /cart-permission-groups/1 Then Response status code should be: 403 diff --git a/tests/api/mp_b2b/glue/cart_endpoints/cart_permssion_groups/positive.robot b/tests/api/mp_b2b/glue/cart_endpoints/cart_permssion_groups/positive.robot index a70529b39..1cca666cb 100644 --- a/tests/api/mp_b2b/glue/cart_endpoints/cart_permssion_groups/positive.robot +++ b/tests/api/mp_b2b/glue/cart_endpoints/cart_permssion_groups/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_cart_permission_groups_by_cart_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/mp_b2b/glue/cart_endpoints/carts/negative.robot b/tests/api/mp_b2b/glue/cart_endpoints/carts/negative.robot index ac5050d77..f0a46a761 100644 --- a/tests/api/mp_b2b/glue/cart_endpoints/carts/negative.robot +++ b/tests/api/mp_b2b/glue/cart_endpoints/carts/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_cart_by_cart_id_with_invalid_access_token [Setup] I set Headers: Authorization=3485h7 diff --git a/tests/api/mp_b2b/glue/cart_endpoints/carts/positive.robot b/tests/api/mp_b2b/glue/cart_endpoints/carts/positive.robot index 4fc140ace..cd716cac7 100644 --- a/tests/api/mp_b2b/glue/cart_endpoints/carts/positive.robot +++ b/tests/api/mp_b2b/glue/cart_endpoints/carts/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - # GET requests Get_cart_by_cart_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/cart_endpoints/items/negative.robot b/tests/api/mp_b2b/glue/cart_endpoints/items/negative.robot index 85300c4c8..fd410bf6f 100644 --- a/tests/api/mp_b2b/glue/cart_endpoints/items/negative.robot +++ b/tests/api/mp_b2b/glue/cart_endpoints/items/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ####### POST ####### Add_item_to_cart_non_existing_sku [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/cart_endpoints/items/positive.robot b/tests/api/mp_b2b/glue/cart_endpoints/items/positive.robot index 7926f2add..e7c36410d 100644 --- a/tests/api/mp_b2b/glue/cart_endpoints/items/positive.robot +++ b/tests/api/mp_b2b/glue/cart_endpoints/items/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** ####POST##### Add_one_item_to_cart [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/cart_endpoints/shared_carts/negative.robot b/tests/api/mp_b2b/glue/cart_endpoints/shared_carts/negative.robot index 374200e45..942f652f5 100644 --- a/tests/api/mp_b2b/glue/cart_endpoints/shared_carts/negative.robot +++ b/tests/api/mp_b2b/glue/cart_endpoints/shared_carts/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Share_not_owned_shopping_cart [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND Save value to a variable: [data][attributes][accessToken] userToken diff --git a/tests/api/mp_b2b/glue/cart_endpoints/shared_carts/positive.robot b/tests/api/mp_b2b/glue/cart_endpoints/shared_carts/positive.robot index fd39161b4..74e8d6275 100644 --- a/tests/api/mp_b2b/glue/cart_endpoints/shared_carts/positive.robot +++ b/tests/api/mp_b2b/glue/cart_endpoints/shared_carts/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_shared_shopping_cart_with_read_only_permissions_with_includes [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND Save value to a variable: [data][attributes][accessToken] userToken diff --git a/tests/api/mp_b2b/glue/category_endpoints/category_nodes/negative.robot b/tests/api/mp_b2b/glue/category_endpoints/category_nodes/negative.robot index 2306cbf7b..af275afea 100644 --- a/tests/api/mp_b2b/glue/category_endpoints/category_nodes/negative.robot +++ b/tests/api/mp_b2b/glue/category_endpoints/category_nodes/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_category_node_by_invalid_id When I send a GET request: /category-nodes/test Then Response status code should be: 400 diff --git a/tests/api/mp_b2b/glue/category_endpoints/category_nodes/positive.robot b/tests/api/mp_b2b/glue/category_endpoints/category_nodes/positive.robot index 06c532b43..76cd8efc1 100644 --- a/tests/api/mp_b2b/glue/category_endpoints/category_nodes/positive.robot +++ b/tests/api/mp_b2b/glue/category_endpoints/category_nodes/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_category_node_is_root_by_id [Documentation] bug https://spryker.atlassian.net/browse/CC-11134 [Tags] skip-due-to-issue diff --git a/tests/api/mp_b2b/glue/category_endpoints/category_trees/positive.robot b/tests/api/mp_b2b/glue/category_endpoints/category_trees/positive.robot index dc19651ed..9c893b355 100644 --- a/tests/api/mp_b2b/glue/category_endpoints/category_trees/positive.robot +++ b/tests/api/mp_b2b/glue/category_endpoints/category_trees/positive.robot @@ -5,10 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Get_category_trees When I send a GET request: /category-trees Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/checkout_endpoints/checkout/negative.robot b/tests/api/mp_b2b/glue/checkout_endpoints/checkout/negative.robot index 98ce90570..bd9d924c8 100644 --- a/tests/api/mp_b2b/glue/checkout_endpoints/checkout/negative.robot +++ b/tests/api/mp_b2b/glue/checkout_endpoints/checkout/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Create_order_with_invalid_access_token [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/checkout_endpoints/checkout/positive.robot b/tests/api/mp_b2b/glue/checkout_endpoints/checkout/positive.robot index 442edb58a..78a0d18ad 100644 --- a/tests/api/mp_b2b/glue/checkout_endpoints/checkout/positive.robot +++ b/tests/api/mp_b2b/glue/checkout_endpoints/checkout/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Create_order [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/checkout_endpoints/checkout_data/negative.robot b/tests/api/mp_b2b/glue/checkout_endpoints/checkout_data/negative.robot index 5516a4072..b95dec7a6 100644 --- a/tests/api/mp_b2b/glue/checkout_endpoints/checkout_data/negative.robot +++ b/tests/api/mp_b2b/glue/checkout_endpoints/checkout_data/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** #POST requests Provide_checkout_data_with_invalid_access_token [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/checkout_endpoints/checkout_data/positive.robot b/tests/api/mp_b2b/glue/checkout_endpoints/checkout_data/positive.robot index b3419db8a..97e589ad8 100644 --- a/tests/api/mp_b2b/glue/checkout_endpoints/checkout_data/positive.robot +++ b/tests/api/mp_b2b/glue/checkout_endpoints/checkout_data/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** #POST requests Provide_checkout_data [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/company_endpoints/companies/negative.robot b/tests/api/mp_b2b/glue/company_endpoints/companies/negative.robot index 6f3829bba..aed3bbafb 100644 --- a/tests/api/mp_b2b/glue/company_endpoints/companies/negative.robot +++ b/tests/api/mp_b2b/glue/company_endpoints/companies/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_company_by_wrong_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/company_endpoints/companies/positive.robot b/tests/api/mp_b2b/glue/company_endpoints/companies/positive.robot index 84bd05bd8..2a116f787 100644 --- a/tests/api/mp_b2b/glue/company_endpoints/companies/positive.robot +++ b/tests/api/mp_b2b/glue/company_endpoints/companies/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_company_by_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/company_endpoints/company_business_unit/negative.robot b/tests/api/mp_b2b/glue/company_endpoints/company_business_unit/negative.robot index 787803486..c0b473ba5 100644 --- a/tests/api/mp_b2b/glue/company_endpoints/company_business_unit/negative.robot +++ b/tests/api/mp_b2b/glue/company_endpoints/company_business_unit/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Request_business_unit_with_empty_access_token [Setup] I set Headers: Authorization= When I send a GET request: /company-business-units/456789 diff --git a/tests/api/mp_b2b/glue/company_endpoints/company_business_unit/positive.robot b/tests/api/mp_b2b/glue/company_endpoints/company_business_unit/positive.robot index deb444820..a91dcc83e 100644 --- a/tests/api/mp_b2b/glue/company_endpoints/company_business_unit/positive.robot +++ b/tests/api/mp_b2b/glue/company_endpoints/company_business_unit/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_business_unit_by_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/company_endpoints/company_business_unit_addresses/negative.robot b/tests/api/mp_b2b/glue/company_endpoints/company_business_unit_addresses/negative.robot index 572081ff1..360fb2d4a 100644 --- a/tests/api/mp_b2b/glue/company_endpoints/company_business_unit_addresses/negative.robot +++ b/tests/api/mp_b2b/glue/company_endpoints/company_business_unit_addresses/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_business_unit_address_with_empty_access_token [Setup] I set Headers: Authorization= When I send a GET request: /company-business-unit-addresses/${business_unit.address_id} diff --git a/tests/api/mp_b2b/glue/company_endpoints/company_business_unit_addresses/positive.robot b/tests/api/mp_b2b/glue/company_endpoints/company_business_unit_addresses/positive.robot index e000b1065..707e9c66f 100644 --- a/tests/api/mp_b2b/glue/company_endpoints/company_business_unit_addresses/positive.robot +++ b/tests/api/mp_b2b/glue/company_endpoints/company_business_unit_addresses/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_business_units_address_by_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/company_endpoints/company_roles/negative.robot b/tests/api/mp_b2b/glue/company_endpoints/company_roles/negative.robot index 562ffecbb..d52008023 100644 --- a/tests/api/mp_b2b/glue/company_endpoints/company_roles/negative.robot +++ b/tests/api/mp_b2b/glue/company_endpoints/company_roles/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_company_role_by_wrong_company_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/company_endpoints/company_roles/positive.robot b/tests/api/mp_b2b/glue/company_endpoints/company_roles/positive.robot index 95f9f660c..655acf862 100644 --- a/tests/api/mp_b2b/glue/company_endpoints/company_roles/positive.robot +++ b/tests/api/mp_b2b/glue/company_endpoints/company_roles/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_company_role_by_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/company_endpoints/company_user_access_tokens/negative.robot b/tests/api/mp_b2b/glue/company_endpoints/company_user_access_tokens/negative.robot index 70c5b150a..50491b989 100644 --- a/tests/api/mp_b2b/glue/company_endpoints/company_user_access_tokens/negative.robot +++ b/tests/api/mp_b2b/glue/company_endpoints/company_user_access_tokens/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Request_access_token_by_invalid_company_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/company_endpoints/company_user_access_tokens/positive.robot b/tests/api/mp_b2b/glue/company_endpoints/company_user_access_tokens/positive.robot index c4581e55c..3b4e54869 100644 --- a/tests/api/mp_b2b/glue/company_endpoints/company_user_access_tokens/positive.robot +++ b/tests/api/mp_b2b/glue/company_endpoints/company_user_access_tokens/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_access_token_for_company_user_by_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/company_endpoints/company_users/negative.robot b/tests/api/mp_b2b/glue/company_endpoints/company_users/negative.robot index 5570a8830..a457636c2 100644 --- a/tests/api/mp_b2b/glue/company_endpoints/company_users/negative.robot +++ b/tests/api/mp_b2b/glue/company_endpoints/company_users/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieve_list_of_company_users_without_access_token When I send a GET request: /company-users Then Response status code should be: 403 diff --git a/tests/api/mp_b2b/glue/company_endpoints/company_users/positive.robot b/tests/api/mp_b2b/glue/company_endpoints/company_users/positive.robot index 33ff4fbf3..89ad09f77 100644 --- a/tests/api/mp_b2b/glue/company_endpoints/company_users/positive.robot +++ b/tests/api/mp_b2b/glue/company_endpoints/company_users/positive.robot @@ -5,9 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - Retrieve_list_of_company_users When I get access token for the customer: ${yves_user.email} And I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot index 108c4f719..6eefc78cd 100644 --- a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot +++ b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Get_abstract_product_alternative_for_concrete_product_with_invalid_sku_of_product When I send a GET request: /concrete-products/65789/concrete-alternative-products Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot index c4abdefe3..d8af43ff5 100644 --- a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot +++ b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Get_concrete_alternative_product_for_a_product_that_has_none When I send a GET request: /concrete-products/${bundle_product.concrete.product_1_sku}/concrete-alternative-products Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot index 015a569a2..e2eff5ce5 100644 --- a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot +++ b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Get_concrete_product_availability_by_abstract_SKU When I send a GET request: /concrete-products/${abstract_product_with_alternative.sku}/concrete-product-availabilities Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot index 6bdf29494..cc5fef5a5 100644 --- a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot +++ b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot @@ -5,9 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - Get_concrete_product_availability_by_concrete_SKU_with_stock When I send a GET request: /concrete-products/${concrete_available_product_with_stock}/concrete-product-availabilities Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot index dc8345452..c99e666df 100644 --- a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot +++ b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Get_product_image_with_abstract_SKU When I send a GET request: /concrete-products/${bundle_product.abstract.product_1_sku}/concrete-product-image-sets Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot index 94ae49036..449e66108 100644 --- a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot +++ b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Get_concrete_product_with_one_image_set When I send a GET request: /concrete-products/${concrete_product.image_set.one.sku}/concrete-product-image-sets Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_prices/negative.robot b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_prices/negative.robot index 5c8cb5e89..4f306c845 100644 --- a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_prices/negative.robot +++ b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_prices/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Get_product_prices_with_abstract_sku [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_prices/positive.robot b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_prices/positive.robot index ea2583e62..9e79eb68f 100644 --- a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_prices/positive.robot +++ b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_product_prices/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - ####GET#### Get_concrete_product_with_only_default_price [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_products/negative.robot b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_products/negative.robot index 64d262000..87eb667d4 100644 --- a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_products/negative.robot +++ b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_products/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Request_product_concrete_with_product_doesn't_exist When I send a GET request: /concrete-products/354656u7i8 Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_products/positive.robot b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_products/positive.robot index 7ea78d08f..ee76e0f7f 100644 --- a/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_products/positive.robot +++ b/tests/api/mp_b2b/glue/concrete_products_endpoints/concrete_products/positive.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup ####GET#### Get_concrete_product_information_by_sku When I send a GET request: /concrete-products/${concrete_product_with_alternative.sku} diff --git a/tests/api/mp_b2b/glue/content_endpoints/cms_pages/negative.robot b/tests/api/mp_b2b/glue/content_endpoints/cms_pages/negative.robot index ef6dcf35b..fc42e605e 100644 --- a/tests/api/mp_b2b/glue/content_endpoints/cms_pages/negative.robot +++ b/tests/api/mp_b2b/glue/content_endpoints/cms_pages/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_cms_page_list_by_fake_id When I send a GET request: /cms-pages/:cms Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/content_endpoints/cms_pages/positive.robot b/tests/api/mp_b2b/glue/content_endpoints/cms_pages/positive.robot index 20b7d70dc..763adcfe7 100644 --- a/tests/api/mp_b2b/glue/content_endpoints/cms_pages/positive.robot +++ b/tests/api/mp_b2b/glue/content_endpoints/cms_pages/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/cms_steps.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_cms_pages_list When I send a GET request: /cms-pages Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/content_endpoints/content_banners/negative.robot b/tests/api/mp_b2b/glue/content_endpoints/content_banners/negative.robot index f3e87aea2..51770471c 100644 --- a/tests/api/mp_b2b/glue/content_endpoints/content_banners/negative.robot +++ b/tests/api/mp_b2b/glue/content_endpoints/content_banners/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_banner_without_id When I send a GET request: /content-banners Then Response status code should be: 400 diff --git a/tests/api/mp_b2b/glue/content_endpoints/content_banners/positive.robot b/tests/api/mp_b2b/glue/content_endpoints/content_banners/positive.robot index a33cc7b6f..d06adc6d1 100644 --- a/tests/api/mp_b2b/glue/content_endpoints/content_banners/positive.robot +++ b/tests/api/mp_b2b/glue/content_endpoints/content_banners/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_banner When I send a GET request: /content-banners/${banner_1.id} Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/content_endpoints/content_product_abstract_lists/negative.robot b/tests/api/mp_b2b/glue/content_endpoints/content_product_abstract_lists/negative.robot index 02192421e..3c77b1b05 100644 --- a/tests/api/mp_b2b/glue/content_endpoints/content_product_abstract_lists/negative.robot +++ b/tests/api/mp_b2b/glue/content_endpoints/content_product_abstract_lists/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_product_list_by_fake_id When I send a GET request: /content-product-abstract-lists/fake Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/content_endpoints/content_product_abstract_lists/positive.robot b/tests/api/mp_b2b/glue/content_endpoints/content_product_abstract_lists/positive.robot index eb467b370..5e5b2fb50 100644 --- a/tests/api/mp_b2b/glue/content_endpoints/content_product_abstract_lists/positive.robot +++ b/tests/api/mp_b2b/glue/content_endpoints/content_product_abstract_lists/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Abstract_product_list When I send a GET request: /content-product-abstract-lists/${abstract_list.product_id} Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/customer_endpoints/addresses/negative.robot b/tests/api/mp_b2b/glue/customer_endpoints/addresses/negative.robot index e1eae9c9d..713af98b6 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/addresses/negative.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/addresses/negative.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - ######POST##### Create_customer_address_with_missing_required_fields When I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/customer_endpoints/addresses/positive.robot b/tests/api/mp_b2b/glue/customer_endpoints/addresses/positive.robot index 44a32e1b8..7bd83e40c 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/addresses/positive.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/addresses/positive.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - #####POST##### Create_customer_address_with_all_fields [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/customer_endpoints/customer_access/positive.robot b/tests/api/mp_b2b/glue/customer_endpoints/customer_access/positive.robot index 181e76597..d4608023d 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/customer_access/positive.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/customer_access/positive.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - ##### all negative and positive tests for this endpoint are already covered with other tests (e.g. abstract-product-prices checks that without token proces are not accessible) Get_resources_customer_can_access When I send a GET request: /customer-access diff --git a/tests/api/mp_b2b/glue/customer_endpoints/customer_confirmation/negative.robot b/tests/api/mp_b2b/glue/customer_endpoints/customer_confirmation/negative.robot index 24f1bf28d..085c88eb2 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/customer_confirmation/negative.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/customer_confirmation/negative.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Customer_confirmation_with_wrong_confirmation_key And I send a POST request: /customer-confirmation {"data":{"type":"customer-confirmation","attributes":{"registrationKey":"39085d16b04b34265910c7ea2a35367ggh"}}} Response status code should be: ${422} diff --git a/tests/api/mp_b2b/glue/customer_endpoints/customer_confirmation/positive.robot b/tests/api/mp_b2b/glue/customer_endpoints/customer_confirmation/positive.robot index 60169ce69..2b13f3814 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/customer_confirmation/positive.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/customer_confirmation/positive.robot @@ -4,9 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Customer_confirmation [Setup] Run Keywords I send a POST request: /customers {"data":{"type":"customers","attributes":{"firstName":"${yves_third_user.first_name}","lastName":"${yves_third_user.last_name}","gender":"${gender.male}","salutation":"${yves_third_user.salutation}","email":"${yves_third_user.first_name}.${yves_third_user.last_name}${random}@spryker.com","password":"${yves_third_user.password_new}","confirmPassword":"${yves_third_user.password_new}","acceptedTerms":True}}} ... AND Response status code should be: 201 diff --git a/tests/api/mp_b2b/glue/customer_endpoints/customer_forgotten_password/negative.robot b/tests/api/mp_b2b/glue/customer_endpoints/customer_forgotten_password/negative.robot index 759a7f6fc..8cb89929a 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/customer_forgotten_password/negative.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/customer_forgotten_password/negative.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Forgot_password_wrong_email_format I send a POST request: /customer-forgotten-password {"data":{"type":"customer-forgotten-password","attributes":{"email":"123"}}} Response status code should be: ${422} diff --git a/tests/api/mp_b2b/glue/customer_endpoints/customer_forgotten_password/positive.robot b/tests/api/mp_b2b/glue/customer_endpoints/customer_forgotten_password/positive.robot index d91b3a150..ce838c5fd 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/customer_forgotten_password/positive.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/customer_forgotten_password/positive.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Forgot_password_with_all_required_fields_and_valid_data I send a POST request: /customer-forgotten-password {"data":{"type":"customer-forgotten-password","attributes":{"email":"${yves_user.email}"}}} Response status code should be: 204 diff --git a/tests/api/mp_b2b/glue/customer_endpoints/customer_password/negative.robot b/tests/api/mp_b2b/glue/customer_endpoints/customer_password/negative.robot index 3e3f283f2..9e90c1f9e 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/customer_password/negative.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/customer_password/negative.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Update_customer_password_with_not_equal_new_password Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/mp_b2b/glue/customer_endpoints/customer_password/positive.robot b/tests/api/mp_b2b/glue/customer_endpoints/customer_password/positive.robot index 45cdcd188..c0cea42c3 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/customer_password/positive.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/customer_password/positive.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Update_customer_password_with_all_required_fields_and_valid_data [Setup] Run Keywords I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_eighth_user.email}","password":"${yves_eighth_user.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/mp_b2b/glue/customer_endpoints/customer_restore_password/negative.robot b/tests/api/mp_b2b/glue/customer_endpoints/customer_restore_password/negative.robot index 006b587b2..f63d24852 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/customer_restore_password/negative.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/customer_restore_password/negative.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Restore_password_without_customer_id I send a PATCH request: /customer-restore-password/ {"data":{"type":"customer-restore-password","attributes":{"restorePasswordKey":"5ec608df9c0dd57c3dd08b540d4a68da","password":"${yves_user.password}","confirmPassword":"${yves_user.password}"}}} And Response status code should be: 400 diff --git a/tests/api/mp_b2b/glue/customer_endpoints/customer_restore_password/positive.robot b/tests/api/mp_b2b/glue/customer_endpoints/customer_restore_password/positive.robot index e2d54b5a0..d4005136a 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/customer_restore_password/positive.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/customer_restore_password/positive.robot @@ -4,8 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Restore_password_with_all_required_fields_and_valid_data [Setup] Run Keywords I send a POST request: /customers/ {"data":{"type":"customers","attributes":{"firstName":"${yves_ninth_user.first_name}","lastName":"${yves_ninth_user.last_name}","gender":"${gender.female}","salutation":"${yves_ninth_user.salutation}","email":"random-name1+${random}${email.domain}","password":"${yves_ninth_user.password}","confirmPassword":"${yves_ninth_user.password}","acceptedTerms":True}}} ... AND Response status code should be: 201 diff --git a/tests/api/mp_b2b/glue/customer_endpoints/customers/negative.robot b/tests/api/mp_b2b/glue/customer_endpoints/customers/negative.robot index 1527dcbfb..c98bc8932 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/customers/negative.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/customers/negative.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Create_a_customer_with_already_existing_email I send a POST request: /customers/ {"data":{"type":"customers","attributes":{"firstName":"${yves_third_user.first_name}","lastName":"${yves_third_user.last_name}","gender":"${gender.male}","salutation":"${yves_third_user.salutation}","email":"${yves_user.email}","password":"${yves_user.password_new}","confirmPassword":"${yves_user.password_new}","acceptedTerms":True}}} Response status code should be: ${422} diff --git a/tests/api/mp_b2b/glue/customer_endpoints/customers/positive.robot b/tests/api/mp_b2b/glue/customer_endpoints/customers/positive.robot index 7969208f0..da924ae25 100644 --- a/tests/api/mp_b2b/glue/customer_endpoints/customers/positive.robot +++ b/tests/api/mp_b2b/glue/customer_endpoints/customers/positive.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Create_customer When I send a POST request: /customers/ {"data":{"type":"customers","attributes":{"firstName":"${yves_user.first_name}","lastName":"${yves_user.last_name}","gender":"${gender.female}","salutation":"${yves_user.salutation}","email":"random-name2+${random}${email.domain}","password":"${yves_user.password_new}","confirmPassword":"${yves_user.password_new}","acceptedTerms":True}}} Then Response status code should be: 201 diff --git a/tests/api/mp_b2b/glue/discount_endpoints/vouchers/negative.robot b/tests/api/mp_b2b/glue/discount_endpoints/vouchers/negative.robot index 603ac29dd..57c2fc699 100644 --- a/tests/api/mp_b2b/glue/discount_endpoints/vouchers/negative.robot +++ b/tests/api/mp_b2b/glue/discount_endpoints/vouchers/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ####### POST ####### diff --git a/tests/api/mp_b2b/glue/discount_endpoints/vouchers/positive.robot b/tests/api/mp_b2b/glue/discount_endpoints/vouchers/positive.robot index ccca80a16..b414188f4 100644 --- a/tests/api/mp_b2b/glue/discount_endpoints/vouchers/positive.robot +++ b/tests/api/mp_b2b/glue/discount_endpoints/vouchers/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #####POST##### Adding_voucher_code_to_cart_of_logged_in_customer [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/general_product_endpoints/product_labels/negative.robot b/tests/api/mp_b2b/glue/general_product_endpoints/product_labels/negative.robot index 74f280682..ac631693a 100644 --- a/tests/api/mp_b2b/glue/general_product_endpoints/product_labels/negative.robot +++ b/tests/api/mp_b2b/glue/general_product_endpoints/product_labels/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_product_label_with_invalid_label_id When I send a GET request: /product-labels/fake Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/general_product_endpoints/product_labels/positive.robot b/tests/api/mp_b2b/glue/general_product_endpoints/product_labels/positive.robot index f5ca0b03e..db4813da2 100644 --- a/tests/api/mp_b2b/glue/general_product_endpoints/product_labels/positive.robot +++ b/tests/api/mp_b2b/glue/general_product_endpoints/product_labels/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_manual_product_label_by_id When I send a GET request: /product-labels/${label_manual.id} Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/general_product_endpoints/product_management_attributes/negative.robot b/tests/api/mp_b2b/glue/general_product_endpoints/product_management_attributes/negative.robot index b3689cd6d..69f502dbb 100644 --- a/tests/api/mp_b2b/glue/general_product_endpoints/product_management_attributes/negative.robot +++ b/tests/api/mp_b2b/glue/general_product_endpoints/product_management_attributes/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_an_attribute_with_non_existent_attribute_id When I send a GET request: /product-management-attributes/fake Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/general_product_endpoints/product_management_attributes/positive.robot b/tests/api/mp_b2b/glue/general_product_endpoints/product_management_attributes/positive.robot index 5c9a49438..5a1344e8e 100644 --- a/tests/api/mp_b2b/glue/general_product_endpoints/product_management_attributes/positive.robot +++ b/tests/api/mp_b2b/glue/general_product_endpoints/product_management_attributes/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_all_product_management_attributes When I send a GET request: /product-management-attributes Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/general_product_endpoints/product_reviews/negative.robot b/tests/api/mp_b2b/glue/general_product_endpoints/product_reviews/negative.robot index a405d961f..998e7bbc8 100644 --- a/tests/api/mp_b2b/glue/general_product_endpoints/product_reviews/negative.robot +++ b/tests/api/mp_b2b/glue/general_product_endpoints/product_reviews/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_a_review_with_non_existent_review_id When I send a GET request: /abstract-products/${abstract_product.product_with_reviews.sku}/product-reviews/fake Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/general_product_endpoints/product_reviews/positive.robot b/tests/api/mp_b2b/glue/general_product_endpoints/product_reviews/positive.robot index 3db578adf..7e2cfb51c 100644 --- a/tests/api/mp_b2b/glue/general_product_endpoints/product_reviews/positive.robot +++ b/tests/api/mp_b2b/glue/general_product_endpoints/product_reviews/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup #Get Request Get_product_reviews When I send a GET request: /abstract-products/${abstract_product.product_with_reviews.sku}/product-reviews diff --git a/tests/api/mp_b2b/glue/general_product_endpoints/product_tax_sets/negative.robot b/tests/api/mp_b2b/glue/general_product_endpoints/product_tax_sets/negative.robot index 11c55e4c2..b5185746e 100644 --- a/tests/api/mp_b2b/glue/general_product_endpoints/product_tax_sets/negative.robot +++ b/tests/api/mp_b2b/glue/general_product_endpoints/product_tax_sets/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_a_tax_set_with_concrete_sku When I send a GET request: /abstract-products/${abstract_available_product_with_stock.concrete_available_product.sku}/product-tax-sets Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/general_product_endpoints/product_tax_sets/positive.robot b/tests/api/mp_b2b/glue/general_product_endpoints/product_tax_sets/positive.robot index 9bdf06906..a1adbf476 100644 --- a/tests/api/mp_b2b/glue/general_product_endpoints/product_tax_sets/positive.robot +++ b/tests/api/mp_b2b/glue/general_product_endpoints/product_tax_sets/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_tax sets When I send a GET request: /abstract-products/${abstract_product.product_with_reviews.sku}/product-tax-sets Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/general_product_endpoints/related_products/negative.robot b/tests/api/mp_b2b/glue/general_product_endpoints/related_products/negative.robot index 394b67309..ead2786a7 100644 --- a/tests/api/mp_b2b/glue/general_product_endpoints/related_products/negative.robot +++ b/tests/api/mp_b2b/glue/general_product_endpoints/related_products/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_related_products_without_abstract_SKU When I send a GET request: /abstract-products//related-products Then Response status code should be: 400 diff --git a/tests/api/mp_b2b/glue/general_product_endpoints/related_products/positive.robot b/tests/api/mp_b2b/glue/general_product_endpoints/related_products/positive.robot index d304a91dc..1a034158b 100644 --- a/tests/api/mp_b2b/glue/general_product_endpoints/related_products/positive.robot +++ b/tests/api/mp_b2b/glue/general_product_endpoints/related_products/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Product_has_related_products When I send a GET request: /abstract-products/${product_with_relations.has_related_products.abstract_sku}/related-products Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/general_product_endpoints/upselling_products/negative.robot b/tests/api/mp_b2b/glue/general_product_endpoints/upselling_products/negative.robot index ee4be20f6..b442cb324 100644 --- a/tests/api/mp_b2b/glue/general_product_endpoints/upselling_products/negative.robot +++ b/tests/api/mp_b2b/glue/general_product_endpoints/upselling_products/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** No_cart_is_passing_to_upselling_products_request [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/mp_b2b/glue/general_product_endpoints/upselling_products/positive.robot b/tests/api/mp_b2b/glue/general_product_endpoints/upselling_products/positive.robot index 85cc98e63..4c348e127 100644 --- a/tests/api/mp_b2b/glue/general_product_endpoints/upselling_products/positive.robot +++ b/tests/api/mp_b2b/glue/general_product_endpoints/upselling_products/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Cart_contains_product_with_upselling_relation [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/mp_b2b/glue/merchant_endpoints/merchant_addresses/negative.robot b/tests/api/mp_b2b/glue/merchant_endpoints/merchant_addresses/negative.robot index 9724db4b7..7c4e7d605 100644 --- a/tests/api/mp_b2b/glue/merchant_endpoints/merchant_addresses/negative.robot +++ b/tests/api/mp_b2b/glue/merchant_endpoints/merchant_addresses/negative.robot @@ -6,9 +6,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_addresses_by_non_exist_merchant_id When I send a GET request: /merchants/NonExistId/merchant-addresses Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/merchant_endpoints/merchant_addresses/positive.robot b/tests/api/mp_b2b/glue/merchant_endpoints/merchant_addresses/positive.robot index eb64b0b3a..3c8433ee8 100644 --- a/tests/api/mp_b2b/glue/merchant_endpoints/merchant_addresses/positive.robot +++ b/tests/api/mp_b2b/glue/merchant_endpoints/merchant_addresses/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_addresses When I send a GET request: /merchants/${merchants.computer_experts.merchant_id}/merchant-addresses Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/merchant_endpoints/merchant_opening_hours/negative.robot b/tests/api/mp_b2b/glue/merchant_endpoints/merchant_opening_hours/negative.robot index 32a70e508..87b2e466f 100644 --- a/tests/api/mp_b2b/glue/merchant_endpoints/merchant_opening_hours/negative.robot +++ b/tests/api/mp_b2b/glue/merchant_endpoints/merchant_opening_hours/negative.robot @@ -6,9 +6,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_opening_hours_by_non_exist_merchant_id When I send a GET request: /merchants/NonExistId/merchant-opening-hours Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/merchant_endpoints/merchant_opening_hours/positive.robot b/tests/api/mp_b2b/glue/merchant_endpoints/merchant_opening_hours/positive.robot index 8c6097f2d..acf6f317d 100644 --- a/tests/api/mp_b2b/glue/merchant_endpoints/merchant_opening_hours/positive.robot +++ b/tests/api/mp_b2b/glue/merchant_endpoints/merchant_opening_hours/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_opening_hours When I send a GET request: /merchants/${merchants.computer_experts.merchant_id}/merchant-opening-hours Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/merchant_endpoints/merchants/negative.robot b/tests/api/mp_b2b/glue/merchant_endpoints/merchants/negative.robot index f661e5d05..2db35bd57 100644 --- a/tests/api/mp_b2b/glue/merchant_endpoints/merchants/negative.robot +++ b/tests/api/mp_b2b/glue/merchant_endpoints/merchants/negative.robot @@ -6,10 +6,7 @@ Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Retrieves_merchant_by_non_exist_id When I send a GET request: /merchants/NonExistId Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/merchant_endpoints/merchants/positive.robot b/tests/api/mp_b2b/glue/merchant_endpoints/merchants/positive.robot index 61cd1bfc6..174ebdc2d 100644 --- a/tests/api/mp_b2b/glue/merchant_endpoints/merchants/positive.robot +++ b/tests/api/mp_b2b/glue/merchant_endpoints/merchants/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_list_of_merchants When I send a GET request: /merchants Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/navigations_endpoints/navigations/negative.robot b/tests/api/mp_b2b/glue/navigations_endpoints/navigations/negative.robot index 67708c544..30d632069 100644 --- a/tests/api/mp_b2b/glue/navigations_endpoints/navigations/negative.robot +++ b/tests/api/mp_b2b/glue/navigations_endpoints/navigations/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_navigations_by_non_exist_id When I send a GET request: /navigations/testNonExistNavigations Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/navigations_endpoints/navigations/positive.robot b/tests/api/mp_b2b/glue/navigations_endpoints/navigations/positive.robot index d796d3b70..be3143bf4 100644 --- a/tests/api/mp_b2b/glue/navigations_endpoints/navigations/positive.robot +++ b/tests/api/mp_b2b/glue/navigations_endpoints/navigations/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_navigation_tree_using_valid_navigation_key When I send a GET request: /navigations/MAIN_NAVIGATION Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/orders_endpoints/negative.robot b/tests/api/mp_b2b/glue/orders_endpoints/negative.robot index b2fa5937c..0715f6899 100644 --- a/tests/api/mp_b2b/glue/orders_endpoints/negative.robot +++ b/tests/api/mp_b2b/glue/orders_endpoints/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #GET requests Get_order_by_order_id_with_invalid_access_token [Setup] I set Headers: Authorization=fake_token diff --git a/tests/api/mp_b2b/glue/orders_endpoints/positive.robot b/tests/api/mp_b2b/glue/orders_endpoints/positive.robot index 59d72388f..195bbf004 100644 --- a/tests/api/mp_b2b/glue/orders_endpoints/positive.robot +++ b/tests/api/mp_b2b/glue/orders_endpoints/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_order_by_order_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_availabilities/negative.robot b/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_availabilities/negative.robot index e14cc62b9..d5300379f 100644 --- a/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_availabilities/negative.robot +++ b/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_availabilities/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_not_existing_product_offer_availabilities When I send a GET request: /product-offers/test/product-offer-availabilities Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_availabilities/positive.robot b/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_availabilities/positive.robot index d3295ea9f..542db9a71 100644 --- a/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_availabilities/positive.robot +++ b/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_availabilities/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_offer_availabilities When I send a GET request: /product-offers/${second_offer_with_volume_price}/product-offer-availabilities Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_prices/negative.robot b/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_prices/negative.robot index 17759e8a4..45125c422 100644 --- a/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_prices/negative.robot +++ b/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_prices/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_offer_prices_without_offer_id When I send a GET request: /product-offers//product-offer-prices Then Response status code should be: 400 diff --git a/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_prices/positive.robot b/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_prices/positive.robot index d0af4f9e2..970fa5165 100644 --- a/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_prices/positive.robot +++ b/tests/api/mp_b2b/glue/product_offer_endpoints/product_offer_prices/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieve_prices_of_a_product_offer When I send a GET request: /product-offers/${merchants.computer_experts.merchant_offer_id}/product-offer-prices Then Response reason should be: OK diff --git a/tests/api/mp_b2b/glue/product_offer_endpoints/product_offers/negative.robot b/tests/api/mp_b2b/glue/product_offer_endpoints/product_offers/negative.robot index 6a94e728c..7653ccf5b 100644 --- a/tests/api/mp_b2b/glue/product_offer_endpoints/product_offers/negative.robot +++ b/tests/api/mp_b2b/glue/product_offer_endpoints/product_offers/negative.robot @@ -5,10 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Get_product_offers_without_product_offer_id When I send a GET request: /product-offers Then Response status code should be: 400 diff --git a/tests/api/mp_b2b/glue/product_offer_endpoints/product_offers/positive.robot b/tests/api/mp_b2b/glue/product_offer_endpoints/product_offers/positive.robot index bbb7f1d99..d909b858c 100644 --- a/tests/api/mp_b2b/glue/product_offer_endpoints/product_offers/positive.robot +++ b/tests/api/mp_b2b/glue/product_offer_endpoints/product_offers/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_concrete_product_without_offers When I send a GET request: /concrete-products/${bundle_product.concrete.sku}/product-offers Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/return_endpoints/return_reasons/positive.robot b/tests/api/mp_b2b/glue/return_endpoints/return_reasons/positive.robot index 453f4389c..2840b2646 100644 --- a/tests/api/mp_b2b/glue/return_endpoints/return_reasons/positive.robot +++ b/tests/api/mp_b2b/glue/return_endpoints/return_reasons/positive.robot @@ -6,8 +6,6 @@ Test Tags glue *** Test Cases *** #GET requests -ENABLER - API_test_setup Get_return_reason When I send a GET request: /return-reasons Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/return_endpoints/returns/negative.robot b/tests/api/mp_b2b/glue/return_endpoints/returns/negative.robot index ce16bf860..cd19cb207 100644 --- a/tests/api/mp_b2b/glue/return_endpoints/returns/negative.robot +++ b/tests/api/mp_b2b/glue/return_endpoints/returns/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_return_with_order_is_not_returnable [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/mp_b2b/glue/return_endpoints/returns/positive.robot b/tests/api/mp_b2b/glue/return_endpoints/returns/positive.robot index 519eb90e7..549fd988c 100644 --- a/tests/api/mp_b2b/glue/return_endpoints/returns/positive.robot +++ b/tests/api/mp_b2b/glue/return_endpoints/returns/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** ####POST#### Create_a_return [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2b/glue/search_endpoints/catalog_search/negative.robot b/tests/api/mp_b2b/glue/search_endpoints/catalog_search/negative.robot index ea1158b73..efa4d2bff 100644 --- a/tests/api/mp_b2b/glue/search_endpoints/catalog_search/negative.robot +++ b/tests/api/mp_b2b/glue/search_endpoints/catalog_search/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Search_without_query_parameter [Documentation] bug https://spryker.atlassian.net/browse/CC-15983 [Tags] skip-due-to-issue diff --git a/tests/api/mp_b2b/glue/search_endpoints/catalog_search/positive.robot b/tests/api/mp_b2b/glue/search_endpoints/catalog_search/positive.robot index 662db640c..8ed034f58 100644 --- a/tests/api/mp_b2b/glue/search_endpoints/catalog_search/positive.robot +++ b/tests/api/mp_b2b/glue/search_endpoints/catalog_search/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ##### SEARCH PARAMETERS ##### diff --git a/tests/api/mp_b2b/glue/search_endpoints/catalog_search_suggestions/positive.robot b/tests/api/mp_b2b/glue/search_endpoints/catalog_search_suggestions/positive.robot index 740672e25..0be432b74 100644 --- a/tests/api/mp_b2b/glue/search_endpoints/catalog_search_suggestions/positive.robot +++ b/tests/api/mp_b2b/glue/search_endpoints/catalog_search_suggestions/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_search_suggestions_without_query_parameter When I send a GET request: /catalog-search-suggestions diff --git a/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_list_items/negative.robot b/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_list_items/negative.robot index 6de98d55f..60b9af6a7 100644 --- a/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_list_items/negative.robot +++ b/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_list_items/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Add_a_concrete_product_to_the_shopping_list_without_access_token I send a POST request: /shopping-lists/${1st_shopping_list.id}/shopping-list-items {"data":{"type":"shopping-list-items","attributes":{"sku":"${abstract_available_product_with_stock.concrete_available_product.sku}","quantity":1}}} And Response status code should be: 403 diff --git a/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_list_items/positive.robot b/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_list_items/positive.robot index 0315df272..8ea367953 100644 --- a/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_list_items/positive.robot +++ b/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_list_items/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Add_a_concrete_product_to_the_shopping_list [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_lists/negative.robot b/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_lists/negative.robot index f6943d685..598a336ca 100644 --- a/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_lists/negative.robot +++ b/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_lists/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_shopping_list_with_empty_type I send a POST request: /shopping-lists {"data":{"type":"","attributes":{"name":"${shopping_list_name}${random}"}}} Response status code should be: 400 diff --git a/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_lists/positive.robot b/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_lists/positive.robot index be4ec42c8..5341b5610 100644 --- a/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_lists/positive.robot +++ b/tests/api/mp_b2b/glue/shopping_list_endpoints/shopping_lists/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_shopping_list [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/mp_b2b/glue/utility_endpoints/stores/negative.robot b/tests/api/mp_b2b/glue/utility_endpoints/stores/negative.robot index 45f183ca9..e5c87c14b 100644 --- a/tests/api/mp_b2b/glue/utility_endpoints/stores/negative.robot +++ b/tests/api/mp_b2b/glue/utility_endpoints/stores/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_store_by_non_exist_id [Tags] dms-off [Documentation] https://spryker.atlassian.net/browse/FRW-7427 Test has been skipped for dms-on shop. discussed with Platform team. Bug has low priority can be not fixed soon. diff --git a/tests/api/mp_b2b/glue/utility_endpoints/stores/positive.robot b/tests/api/mp_b2b/glue/utility_endpoints/stores/positive.robot index 69b0ea6e9..3b42bde26 100644 --- a/tests/api/mp_b2b/glue/utility_endpoints/stores/positive.robot +++ b/tests/api/mp_b2b/glue/utility_endpoints/stores/positive.robot @@ -6,9 +6,7 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup -Get_all_availiable_stores +Get_all_available_stores [Tags] dms-off [Documentation] https://spryker.atlassian.net/browse/FRW-7430 Test has been skipped for dms-on shop. discussed with Platform team. Bug has low priority can be not fixed soon. When I send a GET request: /stores diff --git a/tests/api/mp_b2b/glue/utility_endpoints/url_resolver/negative.robot b/tests/api/mp_b2b/glue/utility_endpoints/url_resolver/negative.robot index da3b2e67c..806912ad0 100644 --- a/tests/api/mp_b2b/glue/utility_endpoints/url_resolver/negative.robot +++ b/tests/api/mp_b2b/glue/utility_endpoints/url_resolver/negative.robot @@ -6,8 +6,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Get_url_collection_by_empty_url When I send a GET request: /url-resolver Then Response status code should be: ${422} diff --git a/tests/api/mp_b2b/glue/utility_endpoints/url_resolver/positive.robot b/tests/api/mp_b2b/glue/utility_endpoints/url_resolver/positive.robot index e49d71c91..fb3811665 100644 --- a/tests/api/mp_b2b/glue/utility_endpoints/url_resolver/positive.robot +++ b/tests/api/mp_b2b/glue/utility_endpoints/url_resolver/positive.robot @@ -6,9 +6,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - Get_url_collections_by_url_paramater_of_category_nodes When I send a GET request: /url-resolver?url=${url_resolver.category_nodes} Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/weight_unit_endpoints/product_measurement_units/negative.robot b/tests/api/mp_b2b/glue/weight_unit_endpoints/product_measurement_units/negative.robot index 3a2d7302b..1a7dd4f6d 100644 --- a/tests/api/mp_b2b/glue/weight_unit_endpoints/product_measurement_units/negative.robot +++ b/tests/api/mp_b2b/glue/weight_unit_endpoints/product_measurement_units/negative.robot @@ -4,10 +4,8 @@ Resource ../../../../../../resources/common/common_api.robot Test Setup API_test_setup Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - Get_a_measurement_unit_with_non_existent_unit_id +*** Test Cases *** +Get_a_measurement_unit_with_non_existent_unit_id When I send a GET request: /product-measurement-units/notexist Then Response status code should be: 404 And Response reason should be: Not Found diff --git a/tests/api/mp_b2b/glue/weight_unit_endpoints/product_measurement_units/positive.robot b/tests/api/mp_b2b/glue/weight_unit_endpoints/product_measurement_units/positive.robot index 6753ef586..558e646bd 100644 --- a/tests/api/mp_b2b/glue/weight_unit_endpoints/product_measurement_units/positive.robot +++ b/tests/api/mp_b2b/glue/weight_unit_endpoints/product_measurement_units/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_measurement_unit_by_id When I send a GET request: /product-measurement-units/${measurement_unit_m} Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/glue/weight_unit_endpoints/sales_units/negative.robot b/tests/api/mp_b2b/glue/weight_unit_endpoints/sales_units/negative.robot index e26a486a2..654272f00 100644 --- a/tests/api/mp_b2b/glue/weight_unit_endpoints/sales_units/negative.robot +++ b/tests/api/mp_b2b/glue/weight_unit_endpoints/sales_units/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_a_measurement_unit_with_non_existent_sku When I send a GET request: /concrete-products/fake/sales-units Then Response status code should be: 404 diff --git a/tests/api/mp_b2b/glue/weight_unit_endpoints/sales_units/positive.robot b/tests/api/mp_b2b/glue/weight_unit_endpoints/sales_units/positive.robot index f8ac8dcfa..0d537a7d7 100644 --- a/tests/api/mp_b2b/glue/weight_unit_endpoints/sales_units/positive.robot +++ b/tests/api/mp_b2b/glue/weight_unit_endpoints/sales_units/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_sales_units_for_product_without_sales_units When I send a GET request: /concrete-products/${abstract_available_product_with_stock.concrete_available_product.sku}/sales-units Then Response status code should be: 200 diff --git a/tests/api/mp_b2b/sapi/utility_endpoints/stores/negative.robot b/tests/api/mp_b2b/sapi/utility_endpoints/stores/negative.robot index a388f07ff..6da845a55 100644 --- a/tests/api/mp_b2b/sapi/utility_endpoints/stores/negative.robot +++ b/tests/api/mp_b2b/sapi/utility_endpoints/stores/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags sapi *** Test Cases *** -ENABLER - API_test_setup - Get_store_by_non_exist_id And I set Headers: Content-Type=${default_header_content_type} When I send a GET request: /stores/NON_EXIST_STORE diff --git a/tests/api/mp_b2b/sapi/utility_endpoints/stores/positive.robot b/tests/api/mp_b2b/sapi/utility_endpoints/stores/positive.robot index a7cdd7f3e..4ff5077b8 100644 --- a/tests/api/mp_b2b/sapi/utility_endpoints/stores/positive.robot +++ b/tests/api/mp_b2b/sapi/utility_endpoints/stores/positive.robot @@ -5,10 +5,7 @@ Test Setup API_test_setup Test Tags sapi *** Test Cases *** - -ENABLER - API_test_setup -Get_all_availiable_stores +Get_all_available_stores And I set Headers: Content-Type=${default_header_content_type} When I send a GET request: /stores Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/bapi/dynamic_entity/complex/negative.robot b/tests/api/mp_b2c/bapi/dynamic_entity/complex/negative.robot index c1ff60710..e1c1ea47e 100644 --- a/tests/api/mp_b2c/bapi/dynamic_entity/complex/negative.robot +++ b/tests/api/mp_b2c/bapi/dynamic_entity/complex/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_product_abstract_collection_with_invalid_query_parameter: ### SETUP DYNAMIC ENTITY CONFIGURATION AND RELATION ### Delete dynamic entity configuration relation in Database: robotTestsCategories diff --git a/tests/api/mp_b2c/bapi/dynamic_entity/complex/positive.robot b/tests/api/mp_b2c/bapi/dynamic_entity/complex/positive.robot index ae3185f73..cab610dfb 100644 --- a/tests/api/mp_b2c/bapi/dynamic_entity/complex/positive.robot +++ b/tests/api/mp_b2c/bapi/dynamic_entity/complex/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_product_abstract_collection_with_childs: ### SETUP DYNAMIC ENTITY CONFIGURATION AND RELATION ### Delete dynamic entity configuration relation in Database: robotTestsCategories diff --git a/tests/api/mp_b2c/bapi/dynamic_entity/negative.robot b/tests/api/mp_b2c/bapi/dynamic_entity/negative.robot index 6b90d804f..cee64e5d6 100644 --- a/tests/api/mp_b2c/bapi/dynamic_entity/negative.robot +++ b/tests/api/mp_b2c/bapi/dynamic_entity/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_list_of_country_with_invalid_token ### SETUP DYNAMIC ENTITY CONFIGURATION ### Delete dynamic entity configuration in Database: robot-test-countries diff --git a/tests/api/mp_b2c/bapi/dynamic_entity/positive.robot b/tests/api/mp_b2c/bapi/dynamic_entity/positive.robot index a3c02072b..0dbed8df5 100644 --- a/tests/api/mp_b2c/bapi/dynamic_entity/positive.robot +++ b/tests/api/mp_b2c/bapi/dynamic_entity/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/dynamic_entity_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_country_collection ### SETUP DYNAMIC ENTITY CONFIGURATION ### Delete dynamic entity configuration in Database: robot-test-countries diff --git a/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_providers/negative.robot b/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_providers/negative.robot index 6214f8c58..2fa32702e 100644 --- a/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_providers/negative.robot +++ b/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_providers/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/push_notifications_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Retrieve_push_notification_providers_without_authorization [Documentation] https://spryker.atlassian.net/browse/FRW-5850 diff --git a/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_providers/positive.robot b/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_providers/positive.robot index 2bc3fe09b..58ca51d51 100644 --- a/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_providers/positive.robot +++ b/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_providers/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/push_notifications_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Create_push_notification_provider [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} diff --git a/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_subscriptions/negative.robot b/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_subscriptions/negative.robot index 3b85ceb14..f948cba0f 100644 --- a/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_subscriptions/negative.robot +++ b/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_subscriptions/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/push_notifications_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Creates_push_notification_subscription_with_incorrect_locale [Setup] Run Keywords Create warehouse in DB: ${warehouses[0].name} ${True} ${warehouses[0].uuid} ... AND Assign user to Warehouse in DB: ${zed_admin.email} ${warehouses[0].uuid} diff --git a/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_subscriptions/positive.robot b/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_subscriptions/positive.robot index e43ee6570..8eaf27918 100644 --- a/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_subscriptions/positive.robot +++ b/tests/api/mp_b2c/bapi/push_notification_endpoints/push_notification_subscriptions/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/push_notifications_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Creates_push_notification_subscription_with_correct_locale [Setup] Run Keywords Create warehouse in DB: ${warehouses[0].name} ${True} ${warehouses[0].uuid} ... AND Assign user to Warehouse in DB: ${zed_admin.email} ${warehouses[0].uuid} diff --git a/tests/api/mp_b2c/bapi/service_points/service_point_addresses/negative.robot b/tests/api/mp_b2c/bapi/service_points/service_point_addresses/negative.robot index 5697c2076..13f207785 100644 --- a/tests/api/mp_b2c/bapi/service_points/service_point_addresses/negative.robot +++ b/tests/api/mp_b2c/bapi/service_points/service_point_addresses/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Create_Service_Point_Address_Without_Authentication [Documentation] https://spryker.atlassian.net/browse/FRW-5850 [Tags] skip-due-to-issue diff --git a/tests/api/mp_b2c/bapi/service_points/service_point_addresses/positive.robot b/tests/api/mp_b2c/bapi/service_points/service_point_addresses/positive.robot index 920b8b5ab..61f28049c 100644 --- a/tests/api/mp_b2c/bapi/service_points/service_point_addresses/positive.robot +++ b/tests/api/mp_b2c/bapi/service_points/service_point_addresses/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Create_Service_Point_Address [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=Bearer ${token} diff --git a/tests/api/mp_b2c/bapi/service_points/service_points/negative.robot b/tests/api/mp_b2c/bapi/service_points/service_points/negative.robot index 903cb1ffb..33a636c98 100644 --- a/tests/api/mp_b2c/bapi/service_points/service_points/negative.robot +++ b/tests/api/mp_b2c/bapi/service_points/service_points/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Create_Service_No_Auth And Create service point in DB uuid=262feb9d-33a7${random} name=TestSP${random} key=sp11${random} isActive=true storeName=DE Then Create service type in DB uuid=33a7-5c55-9b04${random} name=TestType${random} key=sp11${random} diff --git a/tests/api/mp_b2c/bapi/service_points/service_points/positive.robot b/tests/api/mp_b2c/bapi/service_points/service_points/positive.robot index 3537c1adf..e1a4f42ff 100644 --- a/tests/api/mp_b2c/bapi/service_points/service_points/positive.robot +++ b/tests/api/mp_b2c/bapi/service_points/service_points/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_Services_List [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} diff --git a/tests/api/mp_b2c/bapi/service_points/service_types/negative.robot b/tests/api/mp_b2c/bapi/service_points/service_types/negative.robot index 18f412928..ca01f6286 100644 --- a/tests/api/mp_b2c/bapi/service_points/service_types/negative.robot +++ b/tests/api/mp_b2c/bapi/service_points/service_types/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Create_Service_Type_With_Maximum_Length_Key [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=Bearer ${token} diff --git a/tests/api/mp_b2c/bapi/service_points/service_types/positive.robot b/tests/api/mp_b2c/bapi/service_points/service_types/positive.robot index 48e7b1469..d38e7fa0b 100644 --- a/tests/api/mp_b2c/bapi/service_points/service_types/positive.robot +++ b/tests/api/mp_b2c/bapi/service_points/service_types/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Create_Service_Type [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=Bearer ${token} diff --git a/tests/api/mp_b2c/bapi/service_points/services/negative.robot b/tests/api/mp_b2c/bapi/service_points/services/negative.robot index df9836f2a..63c7c9b89 100644 --- a/tests/api/mp_b2c/bapi/service_points/services/negative.robot +++ b/tests/api/mp_b2c/bapi/service_points/services/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Create_Service_No_Auth And Create service point in DB uuid=262feb9d-33a7${random} name=TestSP${random} key=sp11${random} isActive=true storeName=DE Then Create service type in DB uuid=33a7-5c55-9b04${random} name=TestType${random} key=sp11${random} diff --git a/tests/api/mp_b2c/bapi/service_points/services/positive.robot b/tests/api/mp_b2c/bapi/service_points/services/positive.robot index a6a69ae76..f74f2990c 100644 --- a/tests/api/mp_b2c/bapi/service_points/services/positive.robot +++ b/tests/api/mp_b2c/bapi/service_points/services/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_Services_List [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} diff --git a/tests/api/mp_b2c/bapi/shipment_types/negative.robot b/tests/api/mp_b2c/bapi/shipment_types/negative.robot index 98fc1f061..fb7556b3d 100644 --- a/tests/api/mp_b2c/bapi/shipment_types/negative.robot +++ b/tests/api/mp_b2c/bapi/shipment_types/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/shipment_type_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Create_shipment_type_with_incorrect_type_in_body [Documentation] https://spryker.atlassian.net/browse/FRW-5845 diff --git a/tests/api/mp_b2c/bapi/shipment_types/positive.robot b/tests/api/mp_b2c/bapi/shipment_types/positive.robot index 88ef81a43..5b4859c06 100644 --- a/tests/api/mp_b2c/bapi/shipment_types/positive.robot +++ b/tests/api/mp_b2c/bapi/shipment_types/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/shipment_type_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Create_shipment_type [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} diff --git a/tests/api/mp_b2c/bapi/warehouse_tokens/negative.robot b/tests/api/mp_b2c/bapi/warehouse_tokens/negative.robot index 9629c7905..5860678d5 100644 --- a/tests/api/mp_b2c/bapi/warehouse_tokens/negative.robot +++ b/tests/api/mp_b2c/bapi/warehouse_tokens/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/warehouse_user_assigment_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - New_warehouse_token_without_autorization [Tags] skip-due-to-issue [Documentation] https://spryker.atlassian.net/browse/FRW-2142 diff --git a/tests/api/mp_b2c/bapi/warehouse_tokens/positive.robot b/tests/api/mp_b2c/bapi/warehouse_tokens/positive.robot index 7fbbe3090..59ea6a8c1 100644 --- a/tests/api/mp_b2c/bapi/warehouse_tokens/positive.robot +++ b/tests/api/mp_b2c/bapi/warehouse_tokens/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Generate_new_user_token When I set Headers: Content-Type=application/x-www-form-urlencoded When I send a POST request: /token {"grantType": "${grant_type.password}","username": "${zed_admin.email}","password": "${zed_admin.password}"} diff --git a/tests/api/mp_b2c/bapi/warehouse_user_assignments/negative.robot b/tests/api/mp_b2c/bapi/warehouse_user_assignments/negative.robot index 626c34a3b..0c916c8e0 100644 --- a/tests/api/mp_b2c/bapi/warehouse_user_assignments/negative.robot +++ b/tests/api/mp_b2c/bapi/warehouse_user_assignments/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/warehouse_user_assigment_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Create_warehouse_user_assigment_with_invalid_token [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} diff --git a/tests/api/mp_b2c/bapi/warehouse_user_assignments/positive.robot b/tests/api/mp_b2c/bapi/warehouse_user_assignments/positive.robot index c38ed554f..7777577e2 100644 --- a/tests/api/mp_b2c/bapi/warehouse_user_assignments/positive.robot +++ b/tests/api/mp_b2c/bapi/warehouse_user_assignments/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/warehouse_user_assigment_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Assign_user_to_warehouse [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=Bearer ${token} diff --git a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot index b3ade1746..806345f2d 100644 --- a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot +++ b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_alternative_abstract_with_nonexistant_SKU When I send a GET request: /concrete-products/fake/abstract-alternative-products Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot index 2dca9241d..c052e8738 100644 --- a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot +++ b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Product_has_abstract_alternative [Documentation] https://spryker.atlassian.net/browse/CC-16998 [Tags] skip-due-to-issue diff --git a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot index 8f5ea58df..e866dff61 100644 --- a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot +++ b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot @@ -6,8 +6,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Get_abstract_availability_by_concrete_SKU When I send a GET request: /abstract-products/${concrete_product_with_abstract_product_alternative.sku}/abstract-product-availabilities Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot index b013a1181..fe8ea5758 100644 --- a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot +++ b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot @@ -6,9 +6,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - Product_is_available_with_stock_and_never_out_of_stock When I send a GET request: /abstract-products/${product_availability.abstract_available_with_stock_and_never_out_of_stock2}/abstract-product-availabilities Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot index 35f13fd0d..a8bf7ddfe 100644 --- a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot +++ b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_image_sets_by_concrete_sku When I send a GET request: /abstract-products/${concrete_product_with_abstract_product_alternative.sku}/abstract-product-image-sets Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot index 2b8c46952..a7d910aca 100644 --- a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot +++ b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Abstract_image_sets_with_one_concrete When I send a GET request: /abstract-products/${product_availability.abstract_available_with_stock_and_never_out_of_stock}/abstract-product-image-sets Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_prices/negative.robot b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_prices/negative.robot index a9450d674..ac578f49e 100644 --- a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_prices/negative.robot +++ b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_prices/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_prices_by_concrete_sku When I send a GET request: /abstract-products/${concrete_product_with_abstract_product_alternative.sku}/abstract-product-prices Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_prices/positive.robot b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_prices/positive.robot index e267b7abd..944df0c43 100644 --- a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_prices/positive.robot +++ b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_product_prices/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_product_prices_detault_only When I send a GET request: /abstract-products/${abstract_available_product_with.concretes_3_sku}/abstract-product-prices?currency=EUR&priceMode=GROSS_MODE Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_products/negative.robot b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_products/negative.robot index 149b1a366..82f876270 100644 --- a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_products/negative.robot +++ b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_products/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_product_by_concrete_SKU When I send a GET request: /abstract-products/${concrete_product_with_alternative.sku} Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_products/positive.robot b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_products/positive.robot index 1d3cf0436..a412b28f5 100644 --- a/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_products/positive.robot +++ b/tests/api/mp_b2c/glue/abstract_product_endpoints/abstract_products/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Abstract_product_with_one_concrete When I send a GET request: /abstract-products/${abstract_available_product_with_stock.sku} Then Response status code should be: 200 @@ -144,4 +141,16 @@ Abstract_product_with_3_concrete_and_concrete_nested_includes And Response include element has self link: concrete-products And Response include element has self link: concrete-product-prices And Response include element has self link: concrete-product-image-sets - And Response include element has self link: concrete-product-availabilities \ No newline at end of file + And Response include element has self link: concrete-product-availabilities + +Abstract_product_in_different_locales_languages + When I set Headers: Accept-Language=de-DE + And I send a GET request: /abstract-products/${abstract_product.product_in_different_locales.sku} + Then Response status code should be: 200 + And Response reason should be: OK + And Response body parameter should contain: [data][attributes][description] ${abstract_product.product_in_different_locales.description_de} + When I set Headers: Accept-Language=en-US + And I send a GET request: /abstract-products/${abstract_product.product_in_different_locales.sku} + Then Response status code should be: 200 + And Response reason should be: OK + And Response body parameter should contain: [data][attributes][description] ${abstract_product.product_in_different_locales.description_en} \ No newline at end of file diff --git a/tests/api/mp_b2c/glue/access_token_endpoints/access_tokens/negative.robot b/tests/api/mp_b2c/glue/access_token_endpoints/access_tokens/negative.robot index 07fda7b79..f8a1b60d0 100644 --- a/tests/api/mp_b2c/glue/access_token_endpoints/access_tokens/negative.robot +++ b/tests/api/mp_b2c/glue/access_token_endpoints/access_tokens/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_acess_token_with_invalid_password When I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_second_user.email}","password":"fake"}}} Then Response status code should be: 401 diff --git a/tests/api/mp_b2c/glue/access_token_endpoints/access_tokens/positive.robot b/tests/api/mp_b2c/glue/access_token_endpoints/access_tokens/positive.robot index d6dd4f8f5..b8cb6a130 100644 --- a/tests/api/mp_b2c/glue/access_token_endpoints/access_tokens/positive.robot +++ b/tests/api/mp_b2c/glue/access_token_endpoints/access_tokens/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_access_token_for_customer When I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_user.email}","password":"${yves_user.password}"}}} Then Response status code should be: 201 diff --git a/tests/api/mp_b2c/glue/access_token_endpoints/refresh_tokens/negative.robot b/tests/api/mp_b2c/glue/access_token_endpoints/refresh_tokens/negative.robot index 87bc59ed9..d2ebf1672 100644 --- a/tests/api/mp_b2c/glue/access_token_endpoints/refresh_tokens/negative.robot +++ b/tests/api/mp_b2c/glue/access_token_endpoints/refresh_tokens/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #######POST####### Refresh_token_with_access_token [Setup] I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/access_token_endpoints/refresh_tokens/positive.robot b/tests/api/mp_b2c/glue/access_token_endpoints/refresh_tokens/positive.robot index 4c7a9800e..3ac54e124 100644 --- a/tests/api/mp_b2c/glue/access_token_endpoints/refresh_tokens/positive.robot +++ b/tests/api/mp_b2c/glue/access_token_endpoints/refresh_tokens/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Refresh_access_token_for_customer [Setup] Run Keywords I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_user.email}","password":"${yves_user.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/mp_b2c/glue/access_token_endpoints/token/negative.robot b/tests/api/mp_b2c/glue/access_token_endpoints/token/negative.robot index ff568d4e7..54cf7ba12 100644 --- a/tests/api/mp_b2c/glue/access_token_endpoints/token/negative.robot +++ b/tests/api/mp_b2c/glue/access_token_endpoints/token/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_token_for_customer_with_invalid_grant_type When I set Headers: Content-Type=${urlencoded_header_content_type} Then I send a POST request with data: /token {"grant_type": "invalid_grant_type","username": "${yves_user.email}","password": "${yves_user.password}"} diff --git a/tests/api/mp_b2c/glue/access_token_endpoints/token/positive.robot b/tests/api/mp_b2c/glue/access_token_endpoints/token/positive.robot index 8dfbd2093..181c92e72 100644 --- a/tests/api/mp_b2c/glue/access_token_endpoints/token/positive.robot +++ b/tests/api/mp_b2c/glue/access_token_endpoints/token/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_token_for_customer I set Headers: Content-Type=${urlencoded_header_content_type} I send a POST request with data: /token {"grant_type": "${grant_type.password}","username": "${yves_user.email}","password": "${yves_user.password}"} diff --git a/tests/api/mp_b2c/glue/agent_endpoints/agent_access_tokens/negative.robot b/tests/api/mp_b2c/glue/agent_endpoints/agent_access_tokens/negative.robot index 00c533013..c84efb5fc 100644 --- a/tests/api/mp_b2c/glue/agent_endpoints/agent_access_tokens/negative.robot +++ b/tests/api/mp_b2c/glue/agent_endpoints/agent_access_tokens/negative.robot @@ -4,10 +4,7 @@ Suite Setup API_suite_setup Test Setup API_test_setup Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_agent_access_token_by_empty_email_and_empty_password When I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "","password": ""}}} Then Response status code should be: 401 diff --git a/tests/api/mp_b2c/glue/agent_endpoints/agent_access_tokens/positive.robot b/tests/api/mp_b2c/glue/agent_endpoints/agent_access_tokens/positive.robot index c13fe9055..1f9179779 100644 --- a/tests/api/mp_b2c/glue/agent_endpoints/agent_access_tokens/positive.robot +++ b/tests/api/mp_b2c/glue/agent_endpoints/agent_access_tokens/positive.robot @@ -4,10 +4,7 @@ Suite Setup API_suite_setup Test Setup API_test_setup Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_agent_access_tokens When I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} Then Response status code should be: 201 diff --git a/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot b/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot index 3227446df..c31f7f4aa 100644 --- a/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot +++ b/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_cannot_impersonate_customer_with_no_agent_token When I send a POST request: /agent-customer-impersonation-access-tokens {"data": {"type": "agent-customer-impersonation-access-tokens","attributes":{"customerReference": "${yves_user.reference}"}}} Then Response status code should be: 401 diff --git a/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot b/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot index c5c330f13..a04c651d8 100644 --- a/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot +++ b/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_can_get_customer_impersonation_token [Setup] Run Keywords I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_search/negative.robot b/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_search/negative.robot index f446fdfb0..3c2538cf7 100755 --- a/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_search/negative.robot +++ b/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_search/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Agent_searches_for_customers_with_no_token When I send a GET request: /agent-customer-search Then Response status code should be: 401 diff --git a/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_search/positive.robot b/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_search/positive.robot index c2a9bf439..7c4f2ee87 100755 --- a/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_search/positive.robot +++ b/tests/api/mp_b2c/glue/agent_endpoints/agent_customer_search/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_can_get_search_for_customers_without_search_parameters [Setup] Run Keywords I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/mp_b2c/glue/availability_endpoints/availability_notifications/negative.robot b/tests/api/mp_b2c/glue/availability_endpoints/availability_notifications/negative.robot index 67a725ee0..440c1f533 100644 --- a/tests/api/mp_b2c/glue/availability_endpoints/availability_notifications/negative.robot +++ b/tests/api/mp_b2c/glue/availability_endpoints/availability_notifications/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_availability_notifications_without_customerId [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/availability_endpoints/availability_notifications/positive.robot b/tests/api/mp_b2c/glue/availability_endpoints/availability_notifications/positive.robot index 75572e7e4..b1bccfe95 100644 --- a/tests/api/mp_b2c/glue/availability_endpoints/availability_notifications/positive.robot +++ b/tests/api/mp_b2c/glue/availability_endpoints/availability_notifications/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_availability_notifications_for_customer [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/availability_endpoints/my_availability_notifications/negative.robot b/tests/api/mp_b2c/glue/availability_endpoints/my_availability_notifications/negative.robot index 8d7989c05..a91257dc1 100644 --- a/tests/api/mp_b2c/glue/availability_endpoints/my_availability_notifications/negative.robot +++ b/tests/api/mp_b2c/glue/availability_endpoints/my_availability_notifications/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Retrieves_my_availability_notifications_with_missing_auth_token When I send a GET request: /my-availability-notifications Then Response status code should be: 403 diff --git a/tests/api/mp_b2c/glue/availability_endpoints/my_availability_notifications/positive.robot b/tests/api/mp_b2c/glue/availability_endpoints/my_availability_notifications/positive.robot index 8567265fb..30a8358bb 100644 --- a/tests/api/mp_b2c/glue/availability_endpoints/my_availability_notifications/positive.robot +++ b/tests/api/mp_b2c/glue/availability_endpoints/my_availability_notifications/positive.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_my_availability_notifications [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/mp_b2c/glue/bundle_endpoints/bundled_products/negative.robot b/tests/api/mp_b2c/glue/bundle_endpoints/bundled_products/negative.robot index 0d8ab2f6b..54d722193 100644 --- a/tests/api/mp_b2c/glue/bundle_endpoints/bundled_products/negative.robot +++ b/tests/api/mp_b2c/glue/bundle_endpoints/bundled_products/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_bundled_products_with_nonexisting_concrete_sku [Documentation] there is a bug - https://spryker.atlassian.net/browse/CC-15994 [Tags] skip-due-to-issue diff --git a/tests/api/mp_b2c/glue/bundle_endpoints/bundled_products/positive.robot b/tests/api/mp_b2c/glue/bundle_endpoints/bundled_products/positive.robot index 358a9d55d..612982e6c 100644 --- a/tests/api/mp_b2c/glue/bundle_endpoints/bundled_products/positive.robot +++ b/tests/api/mp_b2c/glue/bundle_endpoints/bundled_products/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_concrete_bundled_products_inside_concrete_bundle When I send a GET request: /concrete-products/${bundle_product.concrete.product_1_sku}/bundled-products Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/cart_endpoints/carts/negative.robot b/tests/api/mp_b2c/glue/cart_endpoints/carts/negative.robot index 7ec00a3e7..5852ac8f7 100644 --- a/tests/api/mp_b2c/glue/cart_endpoints/carts/negative.robot +++ b/tests/api/mp_b2c/glue/cart_endpoints/carts/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_cart_by_cart_id_with_invalid_access_token [Setup] I set Headers: Authorization=3485h7 When I send a GET request: /carts/not-existing-cart diff --git a/tests/api/mp_b2c/glue/cart_endpoints/carts/positive.robot b/tests/api/mp_b2c/glue/cart_endpoints/carts/positive.robot index 949cffebc..14aff01cb 100644 --- a/tests/api/mp_b2c/glue/cart_endpoints/carts/positive.robot +++ b/tests/api/mp_b2c/glue/cart_endpoints/carts/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** #GET requests Get_cart_by_cart_id [Documentation] bug https://spryker.atlassian.net/browse/CC-26179 diff --git a/tests/api/mp_b2c/glue/cart_endpoints/guest_carts/negative.robot b/tests/api/mp_b2c/glue/cart_endpoints/guest_carts/negative.robot index 3b977ff9a..a237695bf 100644 --- a/tests/api/mp_b2c/glue/cart_endpoints/guest_carts/negative.robot +++ b/tests/api/mp_b2c/glue/cart_endpoints/guest_carts/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_guest_cart_without_anonymous_customer_unique_id When I send a GET request: /guest-carts Then Response status code should be: 400 diff --git a/tests/api/mp_b2c/glue/cart_endpoints/guest_carts/positive.robot b/tests/api/mp_b2c/glue/cart_endpoints/guest_carts/positive.robot index 386e5bd87..10954b914 100644 --- a/tests/api/mp_b2c/glue/cart_endpoints/guest_carts/positive.robot +++ b/tests/api/mp_b2c/glue/cart_endpoints/guest_carts/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_guest_cart [Setup] I set Headers: Content-Type=${default_header_content_type} X-Anonymous-Customer-Unique-Id=${random} diff --git a/tests/api/mp_b2c/glue/cart_endpoints/items/negative.robot b/tests/api/mp_b2c/glue/cart_endpoints/items/negative.robot index 0fe0225a8..fe560ff86 100755 --- a/tests/api/mp_b2c/glue/cart_endpoints/items/negative.robot +++ b/tests/api/mp_b2c/glue/cart_endpoints/items/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ###### POST ####### Add_item_to_cart_non_existing_sku [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/cart_endpoints/items/positive.robot b/tests/api/mp_b2c/glue/cart_endpoints/items/positive.robot index 48d1f3656..1ea0f2844 100755 --- a/tests/api/mp_b2c/glue/cart_endpoints/items/positive.robot +++ b/tests/api/mp_b2c/glue/cart_endpoints/items/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ####POST##### Add_one_item_to_cart [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/category_endpoints/category_nodes/negative.robot b/tests/api/mp_b2c/glue/category_endpoints/category_nodes/negative.robot index dde667816..3387e0aec 100644 --- a/tests/api/mp_b2c/glue/category_endpoints/category_nodes/negative.robot +++ b/tests/api/mp_b2c/glue/category_endpoints/category_nodes/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_category_node_by_invalid_id When I send a GET request: /category-nodes/test Then Response status code should be: 400 diff --git a/tests/api/mp_b2c/glue/category_endpoints/category_nodes/positive.robot b/tests/api/mp_b2c/glue/category_endpoints/category_nodes/positive.robot index 70d2aa8c9..b3d298dd2 100644 --- a/tests/api/mp_b2c/glue/category_endpoints/category_nodes/positive.robot +++ b/tests/api/mp_b2c/glue/category_endpoints/category_nodes/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_category_node_is_root_by_id [Documentation] https://spryker.atlassian.net/browse/CC-25961 [Tags] skip-due-to-issue diff --git a/tests/api/mp_b2c/glue/category_endpoints/category_trees/positive.robot b/tests/api/mp_b2c/glue/category_endpoints/category_trees/positive.robot index 1124bcc45..49ef2722f 100644 --- a/tests/api/mp_b2c/glue/category_endpoints/category_trees/positive.robot +++ b/tests/api/mp_b2c/glue/category_endpoints/category_trees/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_category_trees When I send a GET request: /category-trees diff --git a/tests/api/mp_b2c/glue/checkout_endpoints/checkout/negative.robot b/tests/api/mp_b2c/glue/checkout_endpoints/checkout/negative.robot index 0beb18021..465fcbe98 100644 --- a/tests/api/mp_b2c/glue/checkout_endpoints/checkout/negative.robot +++ b/tests/api/mp_b2c/glue/checkout_endpoints/checkout/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - # POST requests # bug CC-16699 Create_order_with_invalid_access_token diff --git a/tests/api/mp_b2c/glue/checkout_endpoints/checkout/positive.robot b/tests/api/mp_b2c/glue/checkout_endpoints/checkout/positive.robot index b96102ec0..0697a0b9f 100644 --- a/tests/api/mp_b2c/glue/checkout_endpoints/checkout/positive.robot +++ b/tests/api/mp_b2c/glue/checkout_endpoints/checkout/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Create_order [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot index e0977e1f9..109c1758b 100644 --- a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot +++ b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_concrete_availability_by_abstract_SKU When I send a GET request: /concrete-products/${abstract_product_with_alternative.sku}/concrete-product-availabilities Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot index 00937e4f0..d1bdda374 100644 --- a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot +++ b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_concrete_alternative_product_for_a_product_that_has_none When I send a GET request: /concrete-products/${bundle_product.concrete.product_2_sku}/concrete-alternative-products Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot index 1f280d234..f2706d4db 100644 --- a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot +++ b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_concrete_availability_by_abstract_SKU When I send a GET request: /concrete-products/${abstract_product_with_alternative.sku}/concrete-product-availabilities Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot index 0f303ff4c..f7ab68665 100644 --- a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot +++ b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_concrete_availability_by_concrete_SKU_with_stock When I send a GET request: /concrete-products/${concrete_available_product.with_stock}/concrete-product-availabilities Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot index 1c6e75470..a2dce7e1d 100644 --- a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot +++ b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_product_image_with_abstract_SKU When I send a GET request: /concrete-products/${bundle_product.abstract.product_2_sku}/concrete-product-image-sets Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot index 06ccd403f..9c6f0ebc0 100644 --- a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot +++ b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_concrete_product_with_one_image_set When I send a GET request: /concrete-products/${concrete_product.product_one_image_set.sku}/concrete-product-image-sets Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products/negative.robot b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products/negative.robot index f80badc46..906374cdd 100755 --- a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products/negative.robot +++ b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Request_product_concrete_with_product_doesn't_exist When I send a GET request: /concrete-products/354656u7i8 Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products/positive.robot b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products/positive.robot index 39b66fe0b..f5217844a 100755 --- a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products/positive.robot +++ b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products/positive.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup ####GET#### Get_concrete_product_information_by_sku When I send a GET request: /concrete-products/${concrete_product_with_alternative.sku} diff --git a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products_prices/negative.robot b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products_prices/negative.robot index d5fbce4c3..3d5663455 100644 --- a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products_prices/negative.robot +++ b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products_prices/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Get_product_prices_with_abstract_sku [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products_prices/positive.robot b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products_prices/positive.robot index 628cc1fc0..dc6512633 100644 --- a/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products_prices/positive.robot +++ b/tests/api/mp_b2c/glue/concrete_products_endpoints/concrete_products_prices/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - ####GET#### Get_concrete_product_with_only_default_price [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/content_endpoints/cms_pages/negative.robot b/tests/api/mp_b2c/glue/content_endpoints/cms_pages/negative.robot index 69cd696e4..55d3e6e73 100644 --- a/tests/api/mp_b2c/glue/content_endpoints/cms_pages/negative.robot +++ b/tests/api/mp_b2c/glue/content_endpoints/cms_pages/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_cms_page_list_by_fake_id When I send a GET request: /cms-pages/:cms Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/content_endpoints/cms_pages/positive.robot b/tests/api/mp_b2c/glue/content_endpoints/cms_pages/positive.robot index f4deb57d2..3c8868d49 100644 --- a/tests/api/mp_b2c/glue/content_endpoints/cms_pages/positive.robot +++ b/tests/api/mp_b2c/glue/content_endpoints/cms_pages/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/cms_steps.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_cms_pages_list When I send a GET request: /cms-pages Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/content_endpoints/content_banners/negative.robot b/tests/api/mp_b2c/glue/content_endpoints/content_banners/negative.robot index dcde1c0e6..10c3ed9a7 100644 --- a/tests/api/mp_b2c/glue/content_endpoints/content_banners/negative.robot +++ b/tests/api/mp_b2c/glue/content_endpoints/content_banners/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_banner_without_id When I send a GET request: /content-banners Then Response status code should be: 400 diff --git a/tests/api/mp_b2c/glue/content_endpoints/content_banners/positive.robot b/tests/api/mp_b2c/glue/content_endpoints/content_banners/positive.robot index 6a2279b89..7bc7b2de1 100644 --- a/tests/api/mp_b2c/glue/content_endpoints/content_banners/positive.robot +++ b/tests/api/mp_b2c/glue/content_endpoints/content_banners/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_banner When I send a GET request: /content-banners/${banner.id_1} Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/content_endpoints/content_product_abstract_lists/negative.robot b/tests/api/mp_b2c/glue/content_endpoints/content_product_abstract_lists/negative.robot index 2ccf7fc0e..0c6c87832 100644 --- a/tests/api/mp_b2c/glue/content_endpoints/content_product_abstract_lists/negative.robot +++ b/tests/api/mp_b2c/glue/content_endpoints/content_product_abstract_lists/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_product_list_by_fake_id When I send a GET request: /content-product-abstract-lists/fake Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/content_endpoints/content_product_abstract_lists/positive.robot b/tests/api/mp_b2c/glue/content_endpoints/content_product_abstract_lists/positive.robot index 84db3605d..62881c6a9 100644 --- a/tests/api/mp_b2c/glue/content_endpoints/content_product_abstract_lists/positive.robot +++ b/tests/api/mp_b2c/glue/content_endpoints/content_product_abstract_lists/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Abstract_product_list When I send a GET request: /content-product-abstract-lists/${abstract_list.product_id} Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/customer_endpoints/addresses/negative.robot b/tests/api/mp_b2c/glue/customer_endpoints/addresses/negative.robot index 6f60c25a8..c70199fb7 100644 --- a/tests/api/mp_b2c/glue/customer_endpoints/addresses/negative.robot +++ b/tests/api/mp_b2c/glue/customer_endpoints/addresses/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ######POST##### Create_customer_address_with_missing_required_fields When I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/customer_endpoints/addresses/positive.robot b/tests/api/mp_b2c/glue/customer_endpoints/addresses/positive.robot index 0ed64916b..4693d8659 100644 --- a/tests/api/mp_b2c/glue/customer_endpoints/addresses/positive.robot +++ b/tests/api/mp_b2c/glue/customer_endpoints/addresses/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #####POST##### Create_customer_address_with_all_fields [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/customer_endpoints/customer_access/negative.robot b/tests/api/mp_b2c/glue/customer_endpoints/customer_access/negative.robot index d40345bda..16d2a66fc 100644 --- a/tests/api/mp_b2c/glue/customer_endpoints/customer_access/negative.robot +++ b/tests/api/mp_b2c/glue/customer_endpoints/customer_access/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Access_restricted_resource_as_not_authorized_customer I send a GET request: /wishlists Response status code should be: 403 diff --git a/tests/api/mp_b2c/glue/customer_endpoints/customer_access/positive.robot b/tests/api/mp_b2c/glue/customer_endpoints/customer_access/positive.robot index f4e2848e6..aa1e5d964 100644 --- a/tests/api/mp_b2c/glue/customer_endpoints/customer_access/positive.robot +++ b/tests/api/mp_b2c/glue/customer_endpoints/customer_access/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Resources_list_which_customer_can_access I send a GET request: /customer-access Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/customer_endpoints/customer_confirmation/negative.robot b/tests/api/mp_b2c/glue/customer_endpoints/customer_confirmation/negative.robot index 949c5abaa..757546320 100644 --- a/tests/api/mp_b2c/glue/customer_endpoints/customer_confirmation/negative.robot +++ b/tests/api/mp_b2c/glue/customer_endpoints/customer_confirmation/negative.robot @@ -5,10 +5,6 @@ Test Tags glue Test Setup API_test_setup *** Test Cases *** - -ENABLER - API_test_setup - Customer_confirmation_with_wrong_confirmation_key And I send a POST request: /customer-confirmation {"data":{"type":"customer-confirmation","attributes":{"registrationKey":"39085d16b04b34265910c7ea2a35367ggh"}}} Response status code should be: 422 diff --git a/tests/api/mp_b2c/glue/customer_endpoints/customer_confirmation/positive.robot b/tests/api/mp_b2c/glue/customer_endpoints/customer_confirmation/positive.robot index 5f4b98a90..3b9e1e006 100644 --- a/tests/api/mp_b2c/glue/customer_endpoints/customer_confirmation/positive.robot +++ b/tests/api/mp_b2c/glue/customer_endpoints/customer_confirmation/positive.robot @@ -4,8 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Customer_confirmation [Setup] Run Keywords I send a POST request: /customers {"data":{"type":"customers","attributes":{"firstName":"${yves_third_user.first_name}","lastName":"${yves_third_user.last_name}","gender":"${gender.female}","salutation":"${yves_third_user.salutation}","email":"${yves_third_user.first_name}+${random}@spryker.com","password":"${yves_third_user.password_new}","confirmPassword":"${yves_third_user.password_new}","acceptedTerms":True}}} ... AND Response status code should be: 201 diff --git a/tests/api/mp_b2c/glue/customer_endpoints/customer_forgotten_password/negative.robot b/tests/api/mp_b2c/glue/customer_endpoints/customer_forgotten_password/negative.robot index 667fa1ae2..8665d5495 100755 --- a/tests/api/mp_b2c/glue/customer_endpoints/customer_forgotten_password/negative.robot +++ b/tests/api/mp_b2c/glue/customer_endpoints/customer_forgotten_password/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Forgot_password_wrong_email_format I send a POST request: /customer-forgotten-password {"data":{"type":"customer-forgotten-password","attributes":{"email":"xyz"}}} Response status code should be: 422 diff --git a/tests/api/mp_b2c/glue/customer_endpoints/customer_forgotten_password/positive.robot b/tests/api/mp_b2c/glue/customer_endpoints/customer_forgotten_password/positive.robot index dbe0978c8..99f7d3fba 100755 --- a/tests/api/mp_b2c/glue/customer_endpoints/customer_forgotten_password/positive.robot +++ b/tests/api/mp_b2c/glue/customer_endpoints/customer_forgotten_password/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Forgot_password_with_all_required_fields_and_valid_data I send a POST request: /customer-forgotten-password {"data":{"type":"customer-forgotten-password","attributes":{"email":"${yves_user.email}"}}} Response status code should be: 204 diff --git a/tests/api/mp_b2c/glue/customer_endpoints/customer_password/negative.robot b/tests/api/mp_b2c/glue/customer_endpoints/customer_password/negative.robot index 02527f4ec..83ee230bc 100755 --- a/tests/api/mp_b2c/glue/customer_endpoints/customer_password/negative.robot +++ b/tests/api/mp_b2c/glue/customer_endpoints/customer_password/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Update_customer_password_with_not_equal_new_password Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/mp_b2c/glue/customer_endpoints/customer_password/positive.robot b/tests/api/mp_b2c/glue/customer_endpoints/customer_password/positive.robot index 8dea4b747..43377b1f4 100755 --- a/tests/api/mp_b2c/glue/customer_endpoints/customer_password/positive.robot +++ b/tests/api/mp_b2c/glue/customer_endpoints/customer_password/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Update_customer_password_with_all_required_fields_and_valid_data [Setup] Run Keywords I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_eighth_user.email}","password":"${yves_eighth_user.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/mp_b2c/glue/customer_endpoints/customer_restore_password/negative.robot b/tests/api/mp_b2c/glue/customer_endpoints/customer_restore_password/negative.robot index f5bf3e762..3345eaa0b 100755 --- a/tests/api/mp_b2c/glue/customer_endpoints/customer_restore_password/negative.robot +++ b/tests/api/mp_b2c/glue/customer_endpoints/customer_restore_password/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Restore_password_without_customer_id I send a PATCH request: /customer-restore-password/ {"data":{"type":"customer-restore-password","attributes":{"restorePasswordKey":"5ec608df9c0dd57c3dd08b540d4a68da","password":"${yves_user.password}","confirmPassword":"${yves_user.password}"}}} And Response status code should be: 400 diff --git a/tests/api/mp_b2c/glue/customer_endpoints/customer_restore_password/positive.robot b/tests/api/mp_b2c/glue/customer_endpoints/customer_restore_password/positive.robot index 85129267b..300d6836b 100755 --- a/tests/api/mp_b2c/glue/customer_endpoints/customer_restore_password/positive.robot +++ b/tests/api/mp_b2c/glue/customer_endpoints/customer_restore_password/positive.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Restore_password_with_all_required_fields_and_valid_data [Setup] Run Keywords I send a POST request: /customers/ {"data":{"type":"customers","attributes":{"firstName":"${yves_ninth_user.first_name}","lastName":"${yves_ninth_user.last_name}","gender":"${gender.female}","salutation":"${yves_ninth_user.salutation}","email":"${email.name}+${random}${email.domain}","password":"${yves_ninth_user.password}","confirmPassword":"${yves_ninth_user.password}","acceptedTerms":True}}} ... AND Response status code should be: 201 diff --git a/tests/api/mp_b2c/glue/discount_endpoints/vouchers/negative.robot b/tests/api/mp_b2c/glue/discount_endpoints/vouchers/negative.robot index f106626cf..38a1f81ed 100644 --- a/tests/api/mp_b2c/glue/discount_endpoints/vouchers/negative.robot +++ b/tests/api/mp_b2c/glue/discount_endpoints/vouchers/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Add_voucher_code_to_cart_with_invalid_access_token [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/discount_endpoints/vouchers/positive.robot b/tests/api/mp_b2c/glue/discount_endpoints/vouchers/positive.robot index 5cff49576..a472995bf 100644 --- a/tests/api/mp_b2c/glue/discount_endpoints/vouchers/positive.robot +++ b/tests/api/mp_b2c/glue/discount_endpoints/vouchers/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Add_voucher_code_to_cart [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/general_product_endpoints/product_labels/negative.robot b/tests/api/mp_b2c/glue/general_product_endpoints/product_labels/negative.robot index f307d67d6..839f945d7 100644 --- a/tests/api/mp_b2c/glue/general_product_endpoints/product_labels/negative.robot +++ b/tests/api/mp_b2c/glue/general_product_endpoints/product_labels/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_product_label_with_invalid_label_id When I send a GET request: /product-labels/fake Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/general_product_endpoints/product_labels/positive.robot b/tests/api/mp_b2c/glue/general_product_endpoints/product_labels/positive.robot index 160b8af7d..ce73b6ce8 100644 --- a/tests/api/mp_b2c/glue/general_product_endpoints/product_labels/positive.robot +++ b/tests/api/mp_b2c/glue/general_product_endpoints/product_labels/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_new_product_label_by_id When I send a GET request: /product-labels/${label.new.id} Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/general_product_endpoints/product_management_attributes/negative.robot b/tests/api/mp_b2c/glue/general_product_endpoints/product_management_attributes/negative.robot index b3689cd6d..69f502dbb 100755 --- a/tests/api/mp_b2c/glue/general_product_endpoints/product_management_attributes/negative.robot +++ b/tests/api/mp_b2c/glue/general_product_endpoints/product_management_attributes/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_an_attribute_with_non_existent_attribute_id When I send a GET request: /product-management-attributes/fake Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/general_product_endpoints/product_management_attributes/positive.robot b/tests/api/mp_b2c/glue/general_product_endpoints/product_management_attributes/positive.robot index fb46642d4..571915ed4 100755 --- a/tests/api/mp_b2c/glue/general_product_endpoints/product_management_attributes/positive.robot +++ b/tests/api/mp_b2c/glue/general_product_endpoints/product_management_attributes/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_all_product_management_attributes When I send a GET request: /product-management-attributes Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/general_product_endpoints/product_reviews/negative.robot b/tests/api/mp_b2c/glue/general_product_endpoints/product_reviews/negative.robot index 41f15bb85..c7247765c 100644 --- a/tests/api/mp_b2c/glue/general_product_endpoints/product_reviews/negative.robot +++ b/tests/api/mp_b2c/glue/general_product_endpoints/product_reviews/negative.robot @@ -5,10 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** - -ENABLER - API_test_setup - Get_a_review_with_non_existent_review_id When I send a GET request: /abstract-products/${abstract_product.product_with_reviews.sku}/product-reviews/fake Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/general_product_endpoints/product_reviews/positive.robot b/tests/api/mp_b2c/glue/general_product_endpoints/product_reviews/positive.robot index 1f9038e14..b9a4acf28 100644 --- a/tests/api/mp_b2c/glue/general_product_endpoints/product_reviews/positive.robot +++ b/tests/api/mp_b2c/glue/general_product_endpoints/product_reviews/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - Get_product_reviews When I send a GET request: /abstract-products/${abstract_product.product_with_reviews.sku}/product-reviews Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/general_product_endpoints/product_tax_sets/negative.robot b/tests/api/mp_b2c/glue/general_product_endpoints/product_tax_sets/negative.robot index 62b450434..5b6a54b98 100755 --- a/tests/api/mp_b2c/glue/general_product_endpoints/product_tax_sets/negative.robot +++ b/tests/api/mp_b2c/glue/general_product_endpoints/product_tax_sets/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_a_tax_set_with_concrete_sku When I send a GET request: /abstract-products/${concrete_available_product.sku}/product-tax-sets Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/general_product_endpoints/product_tax_sets/positive.robot b/tests/api/mp_b2c/glue/general_product_endpoints/product_tax_sets/positive.robot index fc2f0d72a..3789c811e 100755 --- a/tests/api/mp_b2c/glue/general_product_endpoints/product_tax_sets/positive.robot +++ b/tests/api/mp_b2c/glue/general_product_endpoints/product_tax_sets/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_tax sets When I send a GET request: /abstract-products/${abstract_product.product_with_reviews.sku}/product-tax-sets Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/general_product_endpoints/related_products/negative.robot b/tests/api/mp_b2c/glue/general_product_endpoints/related_products/negative.robot index cfa3db9d3..23a140683 100644 --- a/tests/api/mp_b2c/glue/general_product_endpoints/related_products/negative.robot +++ b/tests/api/mp_b2c/glue/general_product_endpoints/related_products/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_related_products_without_abstract_SKU When I send a GET request: /abstract-products//related-products Then Response status code should be: 400 diff --git a/tests/api/mp_b2c/glue/general_product_endpoints/related_products/positive.robot b/tests/api/mp_b2c/glue/general_product_endpoints/related_products/positive.robot index de57d0079..b983cf895 100644 --- a/tests/api/mp_b2c/glue/general_product_endpoints/related_products/positive.robot +++ b/tests/api/mp_b2c/glue/general_product_endpoints/related_products/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Product_has_related_products When I send a GET request: /abstract-products/${product_with_relations.has_related_products.sku}/related-products Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/general_product_endpoints/upselling_products/negative.robot b/tests/api/mp_b2c/glue/general_product_endpoints/upselling_products/negative.robot index 32fc3dd17..274dc243e 100644 --- a/tests/api/mp_b2c/glue/general_product_endpoints/upselling_products/negative.robot +++ b/tests/api/mp_b2c/glue/general_product_endpoints/upselling_products/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #Logged in customer's cart Get_upselling_products_with_missing_cart_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/general_product_endpoints/upselling_products/positive.robot b/tests/api/mp_b2c/glue/general_product_endpoints/upselling_products/positive.robot index 1b438e66a..28e78e75c 100644 --- a/tests/api/mp_b2c/glue/general_product_endpoints/upselling_products/positive.robot +++ b/tests/api/mp_b2c/glue/general_product_endpoints/upselling_products/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #Logged in customer's cart #bug: https://spryker.atlassian.net/browse/CC-17008 Get_upselling_products diff --git a/tests/api/mp_b2c/glue/guest_carts/guest_cart_items/negative.robot b/tests/api/mp_b2c/glue/guest_carts/guest_cart_items/negative.robot index 3cf3ba09b..082046274 100644 --- a/tests/api/mp_b2c/glue/guest_carts/guest_cart_items/negative.robot +++ b/tests/api/mp_b2c/glue/guest_carts/guest_cart_items/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Add_an_item_to_the_guest_cart_without_x_anonymous_customer_unique_id When I send a POST request: /guest-cart-items {"data":{"type":"guest-cart-items","attributes":{"sku":"${concrete_available_product.with_offer}","quantity":"1"}}} Then Response status code should be: 400 diff --git a/tests/api/mp_b2c/glue/guest_carts/guest_cart_items/positive.robot b/tests/api/mp_b2c/glue/guest_carts/guest_cart_items/positive.robot index bf94aef29..916588699 100644 --- a/tests/api/mp_b2c/glue/guest_carts/guest_cart_items/positive.robot +++ b/tests/api/mp_b2c/glue/guest_carts/guest_cart_items/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Add_an_item_to_the_guest_cart [Setup] I set Headers: Content-Type=${default_header_content_type} X-Anonymous-Customer-Unique-Id=${random} Run Keywords Create a guest cart: ${random} ${concrete_available_product.with_offer} 1 diff --git a/tests/api/mp_b2c/glue/merchant_endpoints/merchant_addresses/negative.robot b/tests/api/mp_b2c/glue/merchant_endpoints/merchant_addresses/negative.robot index 064199f0a..b8a0bfb35 100644 --- a/tests/api/mp_b2c/glue/merchant_endpoints/merchant_addresses/negative.robot +++ b/tests/api/mp_b2c/glue/merchant_endpoints/merchant_addresses/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_addresses_by_non_exist_merchant_id When I send a GET request: /merchants/NonExistId/merchant-addresses Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/merchant_endpoints/merchant_addresses/positive.robot b/tests/api/mp_b2c/glue/merchant_endpoints/merchant_addresses/positive.robot index 7a261a656..5de4dee2a 100644 --- a/tests/api/mp_b2c/glue/merchant_endpoints/merchant_addresses/positive.robot +++ b/tests/api/mp_b2c/glue/merchant_endpoints/merchant_addresses/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_addresses When I send a GET request: /merchants/${merchant.sony_experts.merchant_id}/merchant-addresses Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/merchant_endpoints/merchant_opening_hours/negative.robot b/tests/api/mp_b2c/glue/merchant_endpoints/merchant_opening_hours/negative.robot index 32a70e508..87b2e466f 100644 --- a/tests/api/mp_b2c/glue/merchant_endpoints/merchant_opening_hours/negative.robot +++ b/tests/api/mp_b2c/glue/merchant_endpoints/merchant_opening_hours/negative.robot @@ -6,9 +6,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_opening_hours_by_non_exist_merchant_id When I send a GET request: /merchants/NonExistId/merchant-opening-hours Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/merchant_endpoints/merchant_opening_hours/positive.robot b/tests/api/mp_b2c/glue/merchant_endpoints/merchant_opening_hours/positive.robot index 79030ac27..168ae4c52 100644 --- a/tests/api/mp_b2c/glue/merchant_endpoints/merchant_opening_hours/positive.robot +++ b/tests/api/mp_b2c/glue/merchant_endpoints/merchant_opening_hours/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_opening_hours When I send a GET request: /merchants/${merchant.sony_experts.merchant_id}/merchant-opening-hours Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/merchant_endpoints/merchants/negative.robot b/tests/api/mp_b2c/glue/merchant_endpoints/merchants/negative.robot index b2feb0bb9..3ed271e29 100644 --- a/tests/api/mp_b2c/glue/merchant_endpoints/merchants/negative.robot +++ b/tests/api/mp_b2c/glue/merchant_endpoints/merchants/negative.robot @@ -5,10 +5,7 @@ Resource ../../../../../../resources/common/common_api.robot Test Setup API_test_setup Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Retrieves_merchant_with_non_existent_id When I send a GET request: /merchants/NonExistId Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/merchant_endpoints/merchants/positive.robot b/tests/api/mp_b2c/glue/merchant_endpoints/merchants/positive.robot index 59b710345..eb650541d 100644 --- a/tests/api/mp_b2c/glue/merchant_endpoints/merchants/positive.robot +++ b/tests/api/mp_b2c/glue/merchant_endpoints/merchants/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_list_of_merchants When I send a GET request: /merchants Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/navigation_endpoints/navigations/negative.robot b/tests/api/mp_b2c/glue/navigation_endpoints/navigations/negative.robot index 0a716e2b6..2e1ee8058 100644 --- a/tests/api/mp_b2c/glue/navigation_endpoints/navigations/negative.robot +++ b/tests/api/mp_b2c/glue/navigation_endpoints/navigations/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_navigations_by_non_exist_id When I send a GET request: /navigations/testNonExistNavigations Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/navigation_endpoints/navigations/positive.robot b/tests/api/mp_b2c/glue/navigation_endpoints/navigations/positive.robot index 0d965e9de..094764125 100644 --- a/tests/api/mp_b2c/glue/navigation_endpoints/navigations/positive.robot +++ b/tests/api/mp_b2c/glue/navigation_endpoints/navigations/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - To_retrieve_a_navigation_tree When I send a GET request: /navigations/MAIN_NAVIGATION Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/order_endpoints/orders/negative.robot b/tests/api/mp_b2c/glue/order_endpoints/orders/negative.robot index a9c8fc501..641f2f2f0 100644 --- a/tests/api/mp_b2c/glue/order_endpoints/orders/negative.robot +++ b/tests/api/mp_b2c/glue/order_endpoints/orders/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #GET requests Get_order_by_order_id_with_invalid_access_token [Setup] I set Headers: Authorization=fake_token diff --git a/tests/api/mp_b2c/glue/order_endpoints/orders/positive.robot b/tests/api/mp_b2c/glue/order_endpoints/orders/positive.robot index ce41ac2be..c34824230 100644 --- a/tests/api/mp_b2c/glue/order_endpoints/orders/positive.robot +++ b/tests/api/mp_b2c/glue/order_endpoints/orders/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_order_by_order_id diff --git a/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_availabilities/negative.robot b/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_availabilities/negative.robot index c5e1d7240..1a85e88af 100644 --- a/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_availabilities/negative.robot +++ b/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_availabilities/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_offer_availabilities_without_offerId When I send a GET request: /product-offers//product-offer-availabilities Then Response status code should be: 400 diff --git a/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_availabilities/positive.robot b/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_availabilities/positive.robot index 9f04001cb..15a74d73b 100644 --- a/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_availabilities/positive.robot +++ b/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_availabilities/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_offer_availabilities I send a GET request: /concrete-products/${merchant.spryker.concrete_product_with_offer_sku}/product-offers diff --git a/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_prices/negative.robot b/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_prices/negative.robot index 794ad5ace..d3bb1a04d 100644 --- a/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_prices/negative.robot +++ b/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_prices/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieve_prices_of_a_product_offer_without_offerId When I send a GET request: /product-offers//product-offer-prices Then Response status code should be: 400 diff --git a/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_prices/postive.robot b/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_prices/postive.robot index bb6f70b73..ecba55892 100644 --- a/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_prices/postive.robot +++ b/tests/api/mp_b2c/glue/product_offer_endpoints/product_offer_prices/postive.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_product_offer_without_volume_price I send a GET request: /concrete-products/${concrete_of_alternative_product_with_relations_upselling.sku}/product-offers AND Save value to a variable: [data][0][id] offerId diff --git a/tests/api/mp_b2c/glue/product_offer_endpoints/product_offers/negative.robot b/tests/api/mp_b2c/glue/product_offer_endpoints/product_offers/negative.robot index db720e609..dfe562b42 100644 --- a/tests/api/mp_b2c/glue/product_offer_endpoints/product_offers/negative.robot +++ b/tests/api/mp_b2c/glue/product_offer_endpoints/product_offers/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_product_offers_without_product_offer_id When I send a GET request: /product-offers/ Then Response status code should be: 400 @@ -41,7 +39,7 @@ Get_product_offer_with_volume_prices_included_for_denied_product_offer And Response reason should be: Not Found And Response should return error message: Product offer not found. -Get_product_offer_with_invaild_offer_id +Get_product_offer_with_invalid_offer_id When I send a GET request: /product-offers/test Then Response status code should be: 404 And Response reason should be: Not Found diff --git a/tests/api/mp_b2c/glue/product_offer_endpoints/product_offers/positive.robot b/tests/api/mp_b2c/glue/product_offer_endpoints/product_offers/positive.robot index f0aeef039..06a464aad 100644 --- a/tests/api/mp_b2c/glue/product_offer_endpoints/product_offers/positive.robot +++ b/tests/api/mp_b2c/glue/product_offer_endpoints/product_offers/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_concrete_product_without_offers When I send a GET request: /concrete-products/${bundle_product.concrete.product_1_sku}/product-offers Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/returns_endpoints/return_reasons/positive.robot b/tests/api/mp_b2c/glue/returns_endpoints/return_reasons/positive.robot index 9eee6f10b..df627d712 100644 --- a/tests/api/mp_b2c/glue/returns_endpoints/return_reasons/positive.robot +++ b/tests/api/mp_b2c/glue/returns_endpoints/return_reasons/positive.robot @@ -6,8 +6,6 @@ Test Tags glue *** Test Cases *** #GET requests -ENABLER - API_test_setup Get_return_reason When I send a GET request: /return-reasons Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/returns_endpoints/returns/negative.robot b/tests/api/mp_b2c/glue/returns_endpoints/returns/negative.robot index e3d434bbe..cbd3de3aa 100644 --- a/tests/api/mp_b2c/glue/returns_endpoints/returns/negative.robot +++ b/tests/api/mp_b2c/glue/returns_endpoints/returns/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - ####POST#### Create_a_return_with_Invalid_access_token [Setup] I set Headers: Authorization=3485h7 diff --git a/tests/api/mp_b2c/glue/returns_endpoints/returns/positive.robot b/tests/api/mp_b2c/glue/returns_endpoints/returns/positive.robot index f616360cd..c3bce1229 100644 --- a/tests/api/mp_b2c/glue/returns_endpoints/returns/positive.robot +++ b/tests/api/mp_b2c/glue/returns_endpoints/returns/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - ###POST#### Create_a_return [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/mp_b2c/glue/search_endpoints/catalog_search/negative.robot b/tests/api/mp_b2c/glue/search_endpoints/catalog_search/negative.robot index 3ce5ce988..dc2706b15 100644 --- a/tests/api/mp_b2c/glue/search_endpoints/catalog_search/negative.robot +++ b/tests/api/mp_b2c/glue/search_endpoints/catalog_search/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Search_without_query_parameter [Documentation] bug https://spryker.atlassian.net/browse/CC-15983 [Tags] skip-due-to-issue diff --git a/tests/api/mp_b2c/glue/search_endpoints/catalog_search/positive.robot b/tests/api/mp_b2c/glue/search_endpoints/catalog_search/positive.robot index 894f345d3..4bdafb834 100644 --- a/tests/api/mp_b2c/glue/search_endpoints/catalog_search/positive.robot +++ b/tests/api/mp_b2c/glue/search_endpoints/catalog_search/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ##### SEARCH PARAMETERS ##### Search_with_empty_search_criteria_all_default_values_check When I send a GET request: /catalog-search?q= diff --git a/tests/api/mp_b2c/glue/search_endpoints/catalog_search_suggestions/positive.robot b/tests/api/mp_b2c/glue/search_endpoints/catalog_search_suggestions/positive.robot index 6ee246b05..5dd027437 100644 --- a/tests/api/mp_b2c/glue/search_endpoints/catalog_search_suggestions/positive.robot +++ b/tests/api/mp_b2c/glue/search_endpoints/catalog_search_suggestions/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_search_suggestions_without_query_parameter When I send a GET request: /catalog-search-suggestions Then Response status code should be: 200 diff --git a/tests/api/mp_b2c/glue/service_point_endpoints/service_point_addresses/negative.robot b/tests/api/mp_b2c/glue/service_point_endpoints/service_point_addresses/negative.robot index 5a2f284f0..787cd5dc3 100644 --- a/tests/api/mp_b2c/glue/service_point_endpoints/service_point_addresses/negative.robot +++ b/tests/api/mp_b2c/glue/service_point_endpoints/service_point_addresses/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_list_of_service_point_addresses When I send a GET request: /service-points/${servicePoints[0].uuid}/service-point-addresses Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/service_point_endpoints/service_point_addresses/positive.robot b/tests/api/mp_b2c/glue/service_point_endpoints/service_point_addresses/positive.robot index aa4495418..80dc82735 100644 --- a/tests/api/mp_b2c/glue/service_point_endpoints/service_point_addresses/positive.robot +++ b/tests/api/mp_b2c/glue/service_point_endpoints/service_point_addresses/positive.robot @@ -4,9 +4,8 @@ Test Setup API_test_setup Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags glue -*** Test Cases *** +*** Test Cases *** ENABLER - API_test_setup Deactivate service points Retrieves_a_service_point_address_by_id diff --git a/tests/api/mp_b2c/glue/service_point_endpoints/service_points/negative.robot b/tests/api/mp_b2c/glue/service_point_endpoints/service_points/negative.robot index 735dc00e0..f6ae13c10 100644 --- a/tests/api/mp_b2c/glue/service_point_endpoints/service_points/negative.robot +++ b/tests/api/mp_b2c/glue/service_point_endpoints/service_points/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_list_of_service_points_by_incorrect_url When I send a GET request: /service-point Then Response status code should be: 404 diff --git a/tests/api/mp_b2c/glue/service_point_endpoints/service_points/positive.robot b/tests/api/mp_b2c/glue/service_point_endpoints/service_points/positive.robot index c84c73259..66752a72f 100644 --- a/tests/api/mp_b2c/glue/service_point_endpoints/service_points/positive.robot +++ b/tests/api/mp_b2c/glue/service_point_endpoints/service_points/positive.robot @@ -4,9 +4,8 @@ Test Setup API_test_setup Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags glue -*** Test Cases *** +*** Test Cases *** ENABLER - API_test_setup Deactivate service points Retrieves_list_of_service_points diff --git a/tests/api/mp_b2c/glue/utility_endpoints/health_checks/positive.robot b/tests/api/mp_b2c/glue/utility_endpoints/health_checks/positive.robot index 105347979..de2262d96 100644 --- a/tests/api/mp_b2c/glue/utility_endpoints/health_checks/positive.robot +++ b/tests/api/mp_b2c/glue/utility_endpoints/health_checks/positive.robot @@ -6,9 +6,6 @@ Test Tags glue *** Test Cases *** #GET requests - -ENABLER - API_test_setup ### Precondition: To run commented tests need to enable service endpoints and uncomment tests ### To enable the endpoints, add the following to /config/Shared/config_default.php: ### Spryker\Shared\HealthCheck\HealthCheckConstants;$config[HealthCheckConstants::HEALTH_CHECK_ENABLED] = true; diff --git a/tests/api/mp_b2c/glue/utility_endpoints/stores/negative.robot b/tests/api/mp_b2c/glue/utility_endpoints/stores/negative.robot index 8899de8c9..383e4d95e 100644 --- a/tests/api/mp_b2c/glue/utility_endpoints/stores/negative.robot +++ b/tests/api/mp_b2c/glue/utility_endpoints/stores/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_store_by_non_exist_id [Tags] dms-off [Documentation] https://spryker.atlassian.net/browse/FRW-7427 Test has been skipped for dms-on shop. discussed with Platform team. Bug has low priority can be not fixed soon. diff --git a/tests/api/mp_b2c/glue/utility_endpoints/stores/positive.robot b/tests/api/mp_b2c/glue/utility_endpoints/stores/positive.robot index 60ce1002d..3839f6cfd 100644 --- a/tests/api/mp_b2c/glue/utility_endpoints/stores/positive.robot +++ b/tests/api/mp_b2c/glue/utility_endpoints/stores/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #get Get_all_availiable_stores [Tags] dms-off diff --git a/tests/api/mp_b2c/glue/utility_endpoints/url_resolver/negative.robot b/tests/api/mp_b2c/glue/utility_endpoints/url_resolver/negative.robot index ef739c1ec..cccbb9cc1 100644 --- a/tests/api/mp_b2c/glue/utility_endpoints/url_resolver/negative.robot +++ b/tests/api/mp_b2c/glue/utility_endpoints/url_resolver/negative.robot @@ -4,10 +4,7 @@ Resource ../../../../../../resources/common/common_api.robot Test Setup API_test_setup Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_url_collection_by_empty_url When I send a GET request: /url-resolver Then Response status code should be: 422 diff --git a/tests/api/mp_b2c/glue/utility_endpoints/url_resolver/positive.robot b/tests/api/mp_b2c/glue/utility_endpoints/url_resolver/positive.robot index 59feed477..92b286318 100644 --- a/tests/api/mp_b2c/glue/utility_endpoints/url_resolver/positive.robot +++ b/tests/api/mp_b2c/glue/utility_endpoints/url_resolver/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_url_collections_by_url_paramater_of_category_nodes [Documentation] CC-16595 API: ID is missing from url resolver. [Tags] skip-due-to-issue diff --git a/tests/api/mp_b2c/glue/wishlist_endpoints/wishlist_items/negative.robot b/tests/api/mp_b2c/glue/wishlist_endpoints/wishlist_items/negative.robot index bd1886496..2f69ceb92 100644 --- a/tests/api/mp_b2c/glue/wishlist_endpoints/wishlist_items/negative.robot +++ b/tests/api/mp_b2c/glue/wishlist_endpoints/wishlist_items/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Adding_item_in_wishlist_by_invalid_Access_Token [Setup] I set Headers: Authorization=3485h7 When I send a POST request: /wishlists {"data": { "type": "wishlists","attributes": { "name": "${wishlist_name}"} }} diff --git a/tests/api/mp_b2c/glue/wishlist_endpoints/wishlist_items/positive.robot b/tests/api/mp_b2c/glue/wishlist_endpoints/wishlist_items/positive.robot index 1020e23f5..b1f829a5f 100644 --- a/tests/api/mp_b2c/glue/wishlist_endpoints/wishlist_items/positive.robot +++ b/tests/api/mp_b2c/glue/wishlist_endpoints/wishlist_items/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Adding_item_in_wishlist [Documentation] CC-16555 API: JSON response is missing product availability and price [Tags] skip-due-to-issue diff --git a/tests/api/mp_b2c/glue/wishlist_endpoints/wishlists/negative.robot b/tests/api/mp_b2c/glue/wishlist_endpoints/wishlists/negative.robot index b1fbadfd5..7f0e7e0dd 100644 --- a/tests/api/mp_b2c/glue/wishlist_endpoints/wishlists/negative.robot +++ b/tests/api/mp_b2c/glue/wishlist_endpoints/wishlists/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #Get_request Getting_wishlist_by_invalid_Access_Token [Setup] I set Headers: Authorization=abc diff --git a/tests/api/mp_b2c/glue/wishlist_endpoints/wishlists/positive.robot b/tests/api/mp_b2c/glue/wishlist_endpoints/wishlists/positive.robot index 619643906..014644045 100644 --- a/tests/api/mp_b2c/glue/wishlist_endpoints/wishlists/positive.robot +++ b/tests/api/mp_b2c/glue/wishlist_endpoints/wishlists/positive.robot @@ -5,9 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - Create_a_wishlist [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/mp_b2c/sapi/utility_endpoints/stores/negative.robot b/tests/api/mp_b2c/sapi/utility_endpoints/stores/negative.robot index a388f07ff..6da845a55 100644 --- a/tests/api/mp_b2c/sapi/utility_endpoints/stores/negative.robot +++ b/tests/api/mp_b2c/sapi/utility_endpoints/stores/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags sapi *** Test Cases *** -ENABLER - API_test_setup - Get_store_by_non_exist_id And I set Headers: Content-Type=${default_header_content_type} When I send a GET request: /stores/NON_EXIST_STORE diff --git a/tests/api/mp_b2c/sapi/utility_endpoints/stores/positive.robot b/tests/api/mp_b2c/sapi/utility_endpoints/stores/positive.robot index a7cdd7f3e..4ff5077b8 100644 --- a/tests/api/mp_b2c/sapi/utility_endpoints/stores/positive.robot +++ b/tests/api/mp_b2c/sapi/utility_endpoints/stores/positive.robot @@ -5,10 +5,7 @@ Test Setup API_test_setup Test Tags sapi *** Test Cases *** - -ENABLER - API_test_setup -Get_all_availiable_stores +Get_all_available_stores And I set Headers: Content-Type=${default_header_content_type} When I send a GET request: /stores Then Response status code should be: 200 diff --git a/tests/api/suite/bapi/dynamic_entity/complex/negative.robot b/tests/api/suite/bapi/dynamic_entity/complex/negative.robot index f4ab12c37..302a31b54 100644 --- a/tests/api/suite/bapi/dynamic_entity/complex/negative.robot +++ b/tests/api/suite/bapi/dynamic_entity/complex/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_product_abstract_collection_with_invalid_query_parameter: ### SETUP DYNAMIC ENTITY CONFIGURATION AND RELATION ### Delete dynamic entity configuration relation in Database: robotTestsCategories diff --git a/tests/api/suite/bapi/dynamic_entity/complex/positive.robot b/tests/api/suite/bapi/dynamic_entity/complex/positive.robot index 7309909a7..ec4c7a01a 100644 --- a/tests/api/suite/bapi/dynamic_entity/complex/positive.robot +++ b/tests/api/suite/bapi/dynamic_entity/complex/positive.robot @@ -7,9 +7,6 @@ Resource ../../../../../../resources/steps/dynamic_entity_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_product_abstract_collection_with_childs: ### SETUP DYNAMIC ENTITY CONFIGURATION AND RELATION ### Delete dynamic entity configuration relation in Database: robotTestsCategories diff --git a/tests/api/suite/bapi/dynamic_entity/negative.robot b/tests/api/suite/bapi/dynamic_entity/negative.robot index 6b90d804f..cee64e5d6 100644 --- a/tests/api/suite/bapi/dynamic_entity/negative.robot +++ b/tests/api/suite/bapi/dynamic_entity/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_list_of_country_with_invalid_token ### SETUP DYNAMIC ENTITY CONFIGURATION ### Delete dynamic entity configuration in Database: robot-test-countries diff --git a/tests/api/suite/bapi/dynamic_entity/positive.robot b/tests/api/suite/bapi/dynamic_entity/positive.robot index a3c02072b..0dbed8df5 100644 --- a/tests/api/suite/bapi/dynamic_entity/positive.robot +++ b/tests/api/suite/bapi/dynamic_entity/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/dynamic_entity_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_country_collection ### SETUP DYNAMIC ENTITY CONFIGURATION ### Delete dynamic entity configuration in Database: robot-test-countries diff --git a/tests/api/suite/bapi/push_notification_endpoints/push_notification_provides/negative.robot b/tests/api/suite/bapi/push_notification_endpoints/push_notification_provides/negative.robot index 73dad2889..9170eefa0 100644 --- a/tests/api/suite/bapi/push_notification_endpoints/push_notification_provides/negative.robot +++ b/tests/api/suite/bapi/push_notification_endpoints/push_notification_provides/negative.robot @@ -6,10 +6,6 @@ Resource ../../../../../../resources/common/common_api.robot Resource ../../../../../../resources/steps/push_notifications_steps.robot Test Tags bapi -*** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Retrieve_push_notification_providers_without_authorization When I set Headers: Content-Type=application/vnd.api+json diff --git a/tests/api/suite/bapi/push_notification_endpoints/push_notification_provides/positive.robot b/tests/api/suite/bapi/push_notification_endpoints/push_notification_provides/positive.robot index f01ad3ea6..c47ecd277 100644 --- a/tests/api/suite/bapi/push_notification_endpoints/push_notification_provides/positive.robot +++ b/tests/api/suite/bapi/push_notification_endpoints/push_notification_provides/positive.robot @@ -5,10 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Resource ../../../../../../resources/steps/push_notifications_steps.robot Test Tags bapi -*** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Create_push_notification_provider [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} diff --git a/tests/api/suite/bapi/push_notification_endpoints/push_notification_subscriptions/negative.robot b/tests/api/suite/bapi/push_notification_endpoints/push_notification_subscriptions/negative.robot index 1d669ac3b..b60d4a22e 100644 --- a/tests/api/suite/bapi/push_notification_endpoints/push_notification_subscriptions/negative.robot +++ b/tests/api/suite/bapi/push_notification_endpoints/push_notification_subscriptions/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/push_notifications_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Creates_push_notification_subscription_with_incorrect_locale [Setup] Run Keywords Create warehouse in DB: ${warehouses[0].name} ${True} ${warehouses[0].uuid} ... AND Assign user to Warehouse in DB: ${zed_admin.email} ${warehouses[0].uuid} diff --git a/tests/api/suite/bapi/push_notification_endpoints/push_notification_subscriptions/positive.robot b/tests/api/suite/bapi/push_notification_endpoints/push_notification_subscriptions/positive.robot index 54960d627..7ae9c6b97 100644 --- a/tests/api/suite/bapi/push_notification_endpoints/push_notification_subscriptions/positive.robot +++ b/tests/api/suite/bapi/push_notification_endpoints/push_notification_subscriptions/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/push_notifications_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Creates_push_notification_subscription_with_correct_locale [Setup] Run Keywords Create warehouse in DB: ${warehouses[0].name} ${True} ${warehouses[0].uuid} ... AND Assign user to Warehouse in DB: ${zed_admin.email} ${warehouses[0].uuid} diff --git a/tests/api/suite/bapi/service_points/service_point_addresses/negative.robot b/tests/api/suite/bapi/service_points/service_point_addresses/negative.robot index 95cd24626..a771de81d 100644 --- a/tests/api/suite/bapi/service_points/service_point_addresses/negative.robot +++ b/tests/api/suite/bapi/service_points/service_point_addresses/negative.robot @@ -6,10 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup -*** Test Cases *** - Create_Service_Point_Address_Without_Authentication [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization= diff --git a/tests/api/suite/bapi/service_points/service_point_addresses/positive.robot b/tests/api/suite/bapi/service_points/service_point_addresses/positive.robot index 9e321d207..54fc6a8be 100644 --- a/tests/api/suite/bapi/service_points/service_point_addresses/positive.robot +++ b/tests/api/suite/bapi/service_points/service_point_addresses/positive.robot @@ -6,10 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup -*** Test Cases *** - Create_Service_Point_Address [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=Bearer ${token} diff --git a/tests/api/suite/bapi/service_points/service_points/negative.robot b/tests/api/suite/bapi/service_points/service_points/negative.robot index d4b53c0e1..4ddb5d4d8 100644 --- a/tests/api/suite/bapi/service_points/service_points/negative.robot +++ b/tests/api/suite/bapi/service_points/service_points/negative.robot @@ -5,10 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi -*** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Create_Service_Point_With_Existing_Key [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} diff --git a/tests/api/suite/bapi/service_points/service_points/positive.robot b/tests/api/suite/bapi/service_points/service_points/positive.robot index 152e963dd..1541a47c5 100644 --- a/tests/api/suite/bapi/service_points/service_points/positive.robot +++ b/tests/api/suite/bapi/service_points/service_points/positive.robot @@ -6,10 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup -*** Test Cases *** - Create_new_service_point [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=Bearer ${token} diff --git a/tests/api/suite/bapi/service_points/service_types/negative.robot b/tests/api/suite/bapi/service_points/service_types/negative.robot index 7ad8f921e..561a207e4 100644 --- a/tests/api/suite/bapi/service_points/service_types/negative.robot +++ b/tests/api/suite/bapi/service_points/service_types/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Create_Service_Type_With_Maximum_Length_Key [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=Bearer ${token} diff --git a/tests/api/suite/bapi/service_points/service_types/positive.robot b/tests/api/suite/bapi/service_points/service_types/positive.robot index 8363cd604..862c75058 100644 --- a/tests/api/suite/bapi/service_points/service_types/positive.robot +++ b/tests/api/suite/bapi/service_points/service_types/positive.robot @@ -7,9 +7,6 @@ Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_Service_Types_List [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=Bearer ${token} diff --git a/tests/api/suite/bapi/service_points/services/negative.robot b/tests/api/suite/bapi/service_points/services/negative.robot index d05951347..a048c8970 100644 --- a/tests/api/suite/bapi/service_points/services/negative.robot +++ b/tests/api/suite/bapi/service_points/services/negative.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Create_Service_No_Auth And Create service point in DB uuid=262feb9d-33a7${random} name=TestSP${random} key=sp11${random} isActive=true storeName=DE Then Create service type in DB uuid=33a7-5c55-9b04${random} name=TestType${random} key=sp11${random} diff --git a/tests/api/suite/bapi/service_points/services/positive.robot b/tests/api/suite/bapi/service_points/services/positive.robot index a6a69ae76..f74f2990c 100644 --- a/tests/api/suite/bapi/service_points/services/positive.robot +++ b/tests/api/suite/bapi/service_points/services/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Get_Services_List [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} diff --git a/tests/api/suite/bapi/shipment_types/negative.robot b/tests/api/suite/bapi/shipment_types/negative.robot index 7c5013dcc..9c9766367 100644 --- a/tests/api/suite/bapi/shipment_types/negative.robot +++ b/tests/api/suite/bapi/shipment_types/negative.robot @@ -5,10 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Resource ../../../../../resources/steps/shipment_type_steps.robot Test Tags bapi -*** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Create_shipment_type_with_incorrect_type_in_body [Documentation] https://spryker.atlassian.net/browse/FRW-5845 diff --git a/tests/api/suite/bapi/shipment_types/positive.robot b/tests/api/suite/bapi/shipment_types/positive.robot index cc048710c..0144dbbdc 100644 --- a/tests/api/suite/bapi/shipment_types/positive.robot +++ b/tests/api/suite/bapi/shipment_types/positive.robot @@ -5,10 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Resource ../../../../../resources/steps/shipment_type_steps.robot Test Tags bapi -*** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Create_shipment_type [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} diff --git a/tests/api/suite/bapi/warehouse_tokens/negative.robot b/tests/api/suite/bapi/warehouse_tokens/negative.robot index a7246a803..1232cec28 100644 --- a/tests/api/suite/bapi/warehouse_tokens/negative.robot +++ b/tests/api/suite/bapi/warehouse_tokens/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - New_warehouse_token_without_autorization And I send a POST request: /warehouse-tokens {} Then Response status code should be: 403 diff --git a/tests/api/suite/bapi/warehouse_tokens/positive.robot b/tests/api/suite/bapi/warehouse_tokens/positive.robot index ca4871877..0aa23aa89 100644 --- a/tests/api/suite/bapi/warehouse_tokens/positive.robot +++ b/tests/api/suite/bapi/warehouse_tokens/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Generate_new_user_token When I set Headers: Content-Type=application/x-www-form-urlencoded When I send a POST request: /token {"grantType": "${grant_type.password}","username": "${zed_admin.email}","password": "${zed_admin.password}"} diff --git a/tests/api/suite/bapi/warehouse_user_assignments/negative.robot b/tests/api/suite/bapi/warehouse_user_assignments/negative.robot index 00b1f5339..522331ad0 100644 --- a/tests/api/suite/bapi/warehouse_user_assignments/negative.robot +++ b/tests/api/suite/bapi/warehouse_user_assignments/negative.robot @@ -5,10 +5,6 @@ Resource ../../../../../resources/common/common_api.robot Resource ../../../../../resources/steps/warehouse_user_assigment_steps.robot Test Tags bapi -*** Test Cases *** -ENABLER - API_test_setup - *** Test Cases *** Create_warehouse_user_assigment_with_invalid_token [Setup] Run Keywords I get access token by user credentials: invalid diff --git a/tests/api/suite/bapi/warehouse_user_assignments/positive.robot b/tests/api/suite/bapi/warehouse_user_assignments/positive.robot index a19d8f14d..06f2164d5 100644 --- a/tests/api/suite/bapi/warehouse_user_assignments/positive.robot +++ b/tests/api/suite/bapi/warehouse_user_assignments/positive.robot @@ -6,9 +6,6 @@ Resource ../../../../../resources/steps/warehouse_user_assigment_steps.robot Test Tags bapi *** Test Cases *** -ENABLER - API_test_setup - Assign_user_to_warehouse [Setup] Run Keywords I get access token by user credentials: ${zed_admin.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=Bearer ${token} diff --git a/tests/api/suite/dynamic_store/search_endpoints/catalog_search/positive.robot b/tests/api/suite/dynamic_store/search_endpoints/catalog_search/positive.robot index d31dc2c7e..e867cd4ba 100644 --- a/tests/api/suite/dynamic_store/search_endpoints/catalog_search/positive.robot +++ b/tests/api/suite/dynamic_store/search_endpoints/catalog_search/positive.robot @@ -5,13 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - - -# SEARCH PARAMETERS # - - Search_by_abstract_sku_per_store [Tags] dms-on When I set Headers: store=DE diff --git a/tests/api/suite/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot b/tests/api/suite/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot index 183983201..afbb9b46d 100644 --- a/tests/api/suite/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot +++ b/tests/api/suite/glue/abstract_product_endpoints/abstract_alternative_products/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_alternative_abstract_with_nonexistant_SKU When I send a GET request: /concrete-products/fake/abstract-alternative-products Then Response status code should be: 404 diff --git a/tests/api/suite/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot b/tests/api/suite/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot index d41503c01..b0a2482e7 100644 --- a/tests/api/suite/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot +++ b/tests/api/suite/glue/abstract_product_endpoints/abstract_alternative_products/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Product_has_abstract_alternative When I send a GET request: /concrete-products/${product_with_alternative.concrete_sku}/abstract-alternative-products Then Response status code should be: 200 diff --git a/tests/api/suite/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot b/tests/api/suite/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot index d17584ecd..af655b991 100644 --- a/tests/api/suite/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot +++ b/tests/api/suite/glue/abstract_product_endpoints/abstract_product_availabilities/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_availability_by_concrete_SKU When I send a GET request: /abstract-products/${product_with_alternative.concrete_sku}/abstract-product-availabilities Then Response status code should be: 404 diff --git a/tests/api/suite/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot b/tests/api/suite/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot index 5784dcdea..938d4def7 100644 --- a/tests/api/suite/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot +++ b/tests/api/suite/glue/abstract_product_endpoints/abstract_product_availabilities/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Product_is_available_with_stock_and_never_out_of_stock When I send a GET request: /abstract-products/${product_availability.abstract_available_with_stock_and_never_out_of_stock_2}/abstract-product-availabilities Then Response status code should be: 200 diff --git a/tests/api/suite/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot b/tests/api/suite/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot index f69c78b45..ca314bd2a 100644 --- a/tests/api/suite/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot +++ b/tests/api/suite/glue/abstract_product_endpoints/abstract_product_image_sets/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_image_sets_by_concrete_SKU When I send a GET request: /abstract-products/${product_with_alternative.concrete_sku}/abstract-product-image-sets Then Response status code should be: 404 diff --git a/tests/api/suite/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot b/tests/api/suite/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot index d6b7aa05e..90683c32c 100644 --- a/tests/api/suite/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot +++ b/tests/api/suite/glue/abstract_product_endpoints/abstract_product_image_sets/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Abstract_image_sets_with_1_concrete When I send a GET request: /abstract-products/${product_availability.abstract_available_with_stock_and_never_out_of_stock}/abstract-product-image-sets Then Response status code should be: 200 diff --git a/tests/api/suite/glue/abstract_product_endpoints/abstract_product_prices/negative.robot b/tests/api/suite/glue/abstract_product_endpoints/abstract_product_prices/negative.robot index 4d95e34ec..e8930de35 100644 --- a/tests/api/suite/glue/abstract_product_endpoints/abstract_product_prices/negative.robot +++ b/tests/api/suite/glue/abstract_product_endpoints/abstract_product_prices/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_prices_by_concrete_SKU When I send a GET request: /abstract-products/${product_with_alternative.concrete_sku}/abstract-product-prices Then Response status code should be: 404 diff --git a/tests/api/suite/glue/abstract_product_endpoints/abstract_product_prices/positive.robot b/tests/api/suite/glue/abstract_product_endpoints/abstract_product_prices/positive.robot index 423a4fd82..2b1e05d66 100644 --- a/tests/api/suite/glue/abstract_product_endpoints/abstract_product_prices/positive.robot +++ b/tests/api/suite/glue/abstract_product_endpoints/abstract_product_prices/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Abstract_prices_detault_only When I send a GET request: /abstract-products/${abstract_product_with_variants.concretes_3}/abstract-product-prices?currency=EUR&priceMode=GROSS_MODE Then Response status code should be: 200 diff --git a/tests/api/suite/glue/abstract_product_endpoints/abstract_products/negative.robot b/tests/api/suite/glue/abstract_product_endpoints/abstract_products/negative.robot index 5a5a0d019..bca789b93 100644 --- a/tests/api/suite/glue/abstract_product_endpoints/abstract_products/negative.robot +++ b/tests/api/suite/glue/abstract_product_endpoints/abstract_products/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_product_by_concrete_SKU When I send a GET request: /abstract-products/${product_with_alternative.concrete_sku} Then Response status code should be: 404 diff --git a/tests/api/suite/glue/abstract_product_endpoints/abstract_products/positive.robot b/tests/api/suite/glue/abstract_product_endpoints/abstract_products/positive.robot index 3c16fade0..b623396c2 100644 --- a/tests/api/suite/glue/abstract_product_endpoints/abstract_products/positive.robot +++ b/tests/api/suite/glue/abstract_product_endpoints/abstract_products/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Abstract_product_with_one_concrete When I send a GET request: /abstract-products/${abstract_available_product_with_stock.sku} Then Response status code should be: 200 @@ -168,4 +165,16 @@ Abstract_product_with_concrete_includes_nested_offers And Response include element has self link: product-offer-prices And Response include element has self link: product-offers And Response include element has self link: product-offer-availabilities - And Response include element has self link: merchants \ No newline at end of file + And Response include element has self link: merchants + +Abstract_product_in_different_locales_languages + When I set Headers: Accept-Language=de-DE + And I send a GET request: /abstract-products/${abstract_product.product_with_label.sku} + Then Response status code should be: 200 + And Response reason should be: OK + And Response body parameter should contain: [data][attributes][description] ${abstract_product.product_with_label.description_de} + When I set Headers: Accept-Language=en-US + And I send a GET request: /abstract-products/${abstract_product.product_with_label.sku} + Then Response status code should be: 200 + And Response reason should be: OK + And Response body parameter should contain: [data][attributes][description] ${abstract_product.product_with_label.description_en} \ No newline at end of file diff --git a/tests/api/suite/glue/access_token_endpoints/access_tokens/negative.robot b/tests/api/suite/glue/access_token_endpoints/access_tokens/negative.robot index bcfd3283a..26761f872 100644 --- a/tests/api/suite/glue/access_token_endpoints/access_tokens/negative.robot +++ b/tests/api/suite/glue/access_token_endpoints/access_tokens/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_acess_token_with_invalid_password When I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_second_user.email}","password":"fake"}}} Then Response status code should be: 401 diff --git a/tests/api/suite/glue/access_token_endpoints/access_tokens/positive.robot b/tests/api/suite/glue/access_token_endpoints/access_tokens/positive.robot index 0c73bdcf8..683797239 100644 --- a/tests/api/suite/glue/access_token_endpoints/access_tokens/positive.robot +++ b/tests/api/suite/glue/access_token_endpoints/access_tokens/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_access_token_for_customer When I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_user.email}","password":"${yves_user.password}"}}} Then Response status code should be: 201 diff --git a/tests/api/suite/glue/access_token_endpoints/refresh_tokens/negative.robot b/tests/api/suite/glue/access_token_endpoints/refresh_tokens/negative.robot index 4ce46a7af..045e6833e 100644 --- a/tests/api/suite/glue/access_token_endpoints/refresh_tokens/negative.robot +++ b/tests/api/suite/glue/access_token_endpoints/refresh_tokens/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #######POST####### Refresh_token_with_access_token [Setup] I get access token for the customer: ${yves_user.email} diff --git a/tests/api/suite/glue/access_token_endpoints/refresh_tokens/positive.robot b/tests/api/suite/glue/access_token_endpoints/refresh_tokens/positive.robot index 7c9a54d65..b01c58189 100644 --- a/tests/api/suite/glue/access_token_endpoints/refresh_tokens/positive.robot +++ b/tests/api/suite/glue/access_token_endpoints/refresh_tokens/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Refresh_access_token_for_customer [Setup] Run Keywords I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_user.email}","password":"${yves_user.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/suite/glue/access_token_endpoints/token/negative.robot b/tests/api/suite/glue/access_token_endpoints/token/negative.robot index d14d4dea7..8329d7722 100644 --- a/tests/api/suite/glue/access_token_endpoints/token/negative.robot +++ b/tests/api/suite/glue/access_token_endpoints/token/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_token_for_customer_with_invalid_client_type When I set Headers: Content-Type=${urlencoded_header_content_type} Then I send a POST request with data: /token {"grant_type": "invalid_client_type","username": "${yves_user.email}","password": "${yves_user.password}"} diff --git a/tests/api/suite/glue/access_token_endpoints/token/positive.robot b/tests/api/suite/glue/access_token_endpoints/token/positive.robot index f6ba8f3bb..b249531e8 100644 --- a/tests/api/suite/glue/access_token_endpoints/token/positive.robot +++ b/tests/api/suite/glue/access_token_endpoints/token/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_token_for_customer I set Headers: Content-Type=${urlencoded_header_content_type} I send a POST request with data: /token {"grant_type": "${grant_type.password}","username": "${yves_user.email}","password": "${yves_user.password}"} diff --git a/tests/api/suite/glue/agent_endpoints/agent_access_tokens/negative.robot b/tests/api/suite/glue/agent_endpoints/agent_access_tokens/negative.robot index 7b15ae69a..616f54925 100644 --- a/tests/api/suite/glue/agent_endpoints/agent_access_tokens/negative.robot +++ b/tests/api/suite/glue/agent_endpoints/agent_access_tokens/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_agent_token_for_user_who_is_not_agent When I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${zed_admin.email}","password": "${zed_admin.password}"}}} Then Response status code should be: 401 diff --git a/tests/api/suite/glue/agent_endpoints/agent_access_tokens/positive.robot b/tests/api/suite/glue/agent_endpoints/agent_access_tokens/positive.robot index 44e7c9908..b16e54c8c 100644 --- a/tests/api/suite/glue/agent_endpoints/agent_access_tokens/positive.robot +++ b/tests/api/suite/glue/agent_endpoints/agent_access_tokens/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Agent_can_get_access_token When I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} Then Response status code should be: 201 diff --git a/tests/api/suite/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot b/tests/api/suite/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot index bf84fa744..f12652805 100644 --- a/tests/api/suite/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot +++ b/tests/api/suite/glue/agent_endpoints/agent_customer_impersonation_access_tokens/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_cannot_impersonate_customer_with_no_agent_token When I send a POST request: /agent-customer-impersonation-access-tokens {"data": {"type": "agent-customer-impersonation-access-tokens","attributes":{"customerReference": "${yves_user.reference}"}}} Then Response status code should be: 401 diff --git a/tests/api/suite/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot b/tests/api/suite/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot index b5526be8a..1202f52a8 100644 --- a/tests/api/suite/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot +++ b/tests/api/suite/glue/agent_endpoints/agent_customer_impersonation_access_tokens/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_can_get_customer_impersonation_token [Setup] Run Keywords I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/suite/glue/agent_endpoints/agent_customer_search/negative.robot b/tests/api/suite/glue/agent_endpoints/agent_customer_search/negative.robot index 7ceffcd8e..bd4270ccd 100644 --- a/tests/api/suite/glue/agent_endpoints/agent_customer_search/negative.robot +++ b/tests/api/suite/glue/agent_endpoints/agent_customer_search/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Not_agent_can't_get_search_for_customers When I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${non_agent.email}","password": "${non_agent.password}"}}} Then Response status code should be: 401 diff --git a/tests/api/suite/glue/agent_endpoints/agent_customer_search/positive.robot b/tests/api/suite/glue/agent_endpoints/agent_customer_search/positive.robot index 2932e537c..eea370f18 100644 --- a/tests/api/suite/glue/agent_endpoints/agent_customer_search/positive.robot +++ b/tests/api/suite/glue/agent_endpoints/agent_customer_search/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Agent_can_get_search_for_customers_without_search_parameters [Setup] Run Keywords I send a POST request: /agent-access-tokens {"data": {"type": "agent-access-tokens","attributes": {"username": "${agent.email}","password": "${agent.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/suite/glue/availability_endpoints/availability_notifications/negative.robot b/tests/api/suite/glue/availability_endpoints/availability_notifications/negative.robot index f6d581963..7119219be 100644 --- a/tests/api/suite/glue/availability_endpoints/availability_notifications/negative.robot +++ b/tests/api/suite/glue/availability_endpoints/availability_notifications/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_availability_notifications_without_customerId [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/suite/glue/availability_endpoints/availability_notifications/positive.robot b/tests/api/suite/glue/availability_endpoints/availability_notifications/positive.robot index 1736d1f39..765e83892 100644 --- a/tests/api/suite/glue/availability_endpoints/availability_notifications/positive.robot +++ b/tests/api/suite/glue/availability_endpoints/availability_notifications/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_availability_notifications_for_customer [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/suite/glue/availability_endpoints/my_availability_notifications/negative.robot b/tests/api/suite/glue/availability_endpoints/my_availability_notifications/negative.robot index b66befa33..a91257dc1 100644 --- a/tests/api/suite/glue/availability_endpoints/my_availability_notifications/negative.robot +++ b/tests/api/suite/glue/availability_endpoints/my_availability_notifications/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup -#CC-16501 Retrieves_my_availability_notifications_with_missing_auth_token When I send a GET request: /my-availability-notifications Then Response status code should be: 403 @@ -15,7 +12,6 @@ Retrieves_my_availability_notifications_with_missing_auth_token And Response should return error message: Missing access token. And Response should return error code: 002 -#CC-16501 Retrieves_my_availability_notifications_with_invalid_auth_token [Setup] I set Headers: Authorization=fake_token When I send a GET request: /my-availability-notifications diff --git a/tests/api/suite/glue/availability_endpoints/my_availability_notifications/positive.robot b/tests/api/suite/glue/availability_endpoints/my_availability_notifications/positive.robot index fdd75e27d..6a6f982a5 100644 --- a/tests/api/suite/glue/availability_endpoints/my_availability_notifications/positive.robot +++ b/tests/api/suite/glue/availability_endpoints/my_availability_notifications/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup -#CC-16501 Get_my_availability_notifications [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/suite/glue/bundle_endpoints/bundled_products/negative.robot b/tests/api/suite/glue/bundle_endpoints/bundled_products/negative.robot index 17dd64c5d..3212d97c8 100644 --- a/tests/api/suite/glue/bundle_endpoints/bundled_products/negative.robot +++ b/tests/api/suite/glue/bundle_endpoints/bundled_products/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_bundled_products_with_nonexisting_concrete_sku [Documentation] bug: https://spryker.atlassian.net/browse/CC-15994 [Tags] skip-due-to-issue diff --git a/tests/api/suite/glue/bundle_endpoints/bundled_products/positive.robot b/tests/api/suite/glue/bundle_endpoints/bundled_products/positive.robot index 216e2cfa7..6324c9696 100644 --- a/tests/api/suite/glue/bundle_endpoints/bundled_products/positive.robot +++ b/tests/api/suite/glue/bundle_endpoints/bundled_products/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_concrete_bundled_products_inside_concrete_bundle When I send a GET request: /concrete-products/${bundle_product.concrete.product_4_sku}/bundled-products Then Response status code should be: 200 diff --git a/tests/api/suite/glue/cart_endpoints/cart_codes/negative.robot b/tests/api/suite/glue/cart_endpoints/cart_codes/negative.robot index 407a8cd25..a76d0c861 100644 --- a/tests/api/suite/glue/cart_endpoints/cart_codes/negative.robot +++ b/tests/api/suite/glue/cart_endpoints/cart_codes/negative.robot @@ -5,9 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - Create_git_card_code_with_invalid_access_token [Setup] Run Keyword I set Headers: Authorization=345A9 When I send a POST request: /carts/cart_id/cart-codes {"data": {"type": "cart-codes","attributes": {"code": "${random}"}}} diff --git a/tests/api/suite/glue/cart_endpoints/cart_codes/positive.robot b/tests/api/suite/glue/cart_endpoints/cart_codes/positive.robot index f844f8c27..62592934c 100644 --- a/tests/api/suite/glue/cart_endpoints/cart_codes/positive.robot +++ b/tests/api/suite/glue/cart_endpoints/cart_codes/positive.robot @@ -5,9 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - Add_gift_card_code_to_cart [Setup] Run Keywords I get access token for the customer: ${yves_second_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/suite/glue/cart_endpoints/cart_items/negative.robot b/tests/api/suite/glue/cart_endpoints/cart_items/negative.robot index 249573363..e0f33a128 100644 --- a/tests/api/suite/glue/cart_endpoints/cart_items/negative.robot +++ b/tests/api/suite/glue/cart_endpoints/cart_items/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - # POST # Add_item_to_cart_non_existing_sku [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/suite/glue/cart_endpoints/cart_items/positive.robot b/tests/api/suite/glue/cart_endpoints/cart_items/positive.robot index fd1ff5f1b..6cc397c70 100644 --- a/tests/api/suite/glue/cart_endpoints/cart_items/positive.robot +++ b/tests/api/suite/glue/cart_endpoints/cart_items/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup ###POST##### Add_one_item_to_cart diff --git a/tests/api/suite/glue/cart_endpoints/cart_permssion_groups/negative.robot b/tests/api/suite/glue/cart_endpoints/cart_permssion_groups/negative.robot index 50c5469e9..7cb8bbd1c 100644 --- a/tests/api/suite/glue/cart_endpoints/cart_permssion_groups/negative.robot +++ b/tests/api/suite/glue/cart_endpoints/cart_permssion_groups/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_cart_permission_group_with_unauthenicated_user When I send a GET request: /cart-permission-groups/1 diff --git a/tests/api/suite/glue/cart_endpoints/cart_permssion_groups/positive.robot b/tests/api/suite/glue/cart_endpoints/cart_permssion_groups/positive.robot index 3968a80a8..1f9b598c5 100644 --- a/tests/api/suite/glue/cart_endpoints/cart_permssion_groups/positive.robot +++ b/tests/api/suite/glue/cart_endpoints/cart_permssion_groups/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_cart_permission_groups_by_cart_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/suite/glue/cart_endpoints/carts/negative.robot b/tests/api/suite/glue/cart_endpoints/carts/negative.robot index 0148c53a4..400430588 100644 --- a/tests/api/suite/glue/cart_endpoints/carts/negative.robot +++ b/tests/api/suite/glue/cart_endpoints/carts/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests Get_cart_by_cart_id_with_invalid_access_token [Setup] I set Headers: Authorization=3485h7 diff --git a/tests/api/suite/glue/cart_endpoints/carts/positive.robot b/tests/api/suite/glue/cart_endpoints/carts/positive.robot index 4a1c31cc4..0d9bef076 100644 --- a/tests/api/suite/glue/cart_endpoints/carts/positive.robot +++ b/tests/api/suite/glue/cart_endpoints/carts/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ### GET requests Get_cart_by_cart_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/suite/glue/cart_endpoints/guest_carts/negative.robot b/tests/api/suite/glue/cart_endpoints/guest_carts/negative.robot index 4431dc135..0ab6dc5a8 100644 --- a/tests/api/suite/glue/cart_endpoints/guest_carts/negative.robot +++ b/tests/api/suite/glue/cart_endpoints/guest_carts/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_guest_cart_without_anonymous_customer_unique_id When I send a GET request: /guest-carts Then Response status code should be: 400 diff --git a/tests/api/suite/glue/cart_endpoints/guest_carts/positive.robot b/tests/api/suite/glue/cart_endpoints/guest_carts/positive.robot index 0db8757c1..7db36964b 100644 --- a/tests/api/suite/glue/cart_endpoints/guest_carts/positive.robot +++ b/tests/api/suite/glue/cart_endpoints/guest_carts/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_guest_cart [Setup] I set Headers: Content-Type=${default_header_content_type} X-Anonymous-Customer-Unique-Id=${random} When I send a POST request: /guest-cart-items {"data": {"type": "guest-cart-items","attributes": {"sku": "${concrete_product_with_concrete_product_alternative.sku}","quantity": 1}}} diff --git a/tests/api/suite/glue/cart_endpoints/shared-carts/negative.robot b/tests/api/suite/glue/cart_endpoints/shared-carts/negative.robot index 304a6bb06..a67644fd8 100644 --- a/tests/api/suite/glue/cart_endpoints/shared-carts/negative.robot +++ b/tests/api/suite/glue/cart_endpoints/shared-carts/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Share_not_owned_shopping_cart [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND Save value to a variable: [data][attributes][accessToken] userToken diff --git a/tests/api/suite/glue/cart_endpoints/shared-carts/positive.robot b/tests/api/suite/glue/cart_endpoints/shared-carts/positive.robot index bf397cc3a..10fa54410 100644 --- a/tests/api/suite/glue/cart_endpoints/shared-carts/positive.robot +++ b/tests/api/suite/glue/cart_endpoints/shared-carts/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_shared_shopping_cart_with_read_only_permissions_with_includes [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND Save value to a variable: [data][attributes][accessToken] userToken diff --git a/tests/api/suite/glue/category_endpoints/category_nodes/negative.robot b/tests/api/suite/glue/category_endpoints/category_nodes/negative.robot index 2306cbf7b..af275afea 100644 --- a/tests/api/suite/glue/category_endpoints/category_nodes/negative.robot +++ b/tests/api/suite/glue/category_endpoints/category_nodes/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_category_node_by_invalid_id When I send a GET request: /category-nodes/test Then Response status code should be: 400 diff --git a/tests/api/suite/glue/category_endpoints/category_nodes/positive.robot b/tests/api/suite/glue/category_endpoints/category_nodes/positive.robot index 15ea9d5bc..2133dd2c2 100644 --- a/tests/api/suite/glue/category_endpoints/category_nodes/positive.robot +++ b/tests/api/suite/glue/category_endpoints/category_nodes/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_category_node_is_root_by_id [Documentation] Step skip due to isse https://spryker.atlassian.net/browse/CC-25961 When I send a GET request: /category-nodes/${category_node_is_root_id} diff --git a/tests/api/suite/glue/category_endpoints/category_trees/positive.robot b/tests/api/suite/glue/category_endpoints/category_trees/positive.robot index 2a5bdf7d3..df7eb5dae 100644 --- a/tests/api/suite/glue/category_endpoints/category_trees/positive.robot +++ b/tests/api/suite/glue/category_endpoints/category_trees/positive.robot @@ -5,10 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Get_category_trees When I send a GET request: /category-trees Then Response status code should be: 200 diff --git a/tests/api/suite/glue/checkout_endpoints/checkout/negative.robot b/tests/api/suite/glue/checkout_endpoints/checkout/negative.robot index 382265b7d..ad785266e 100644 --- a/tests/api/suite/glue/checkout_endpoints/checkout/negative.robot +++ b/tests/api/suite/glue/checkout_endpoints/checkout/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup ### Important CHECKOUT and CHECKOUT-DATA endpoints require Item ID and NOT intem sku. To get item id add include to the cart endpoint. ### Example: ###I send a POST request: /carts/${cartId}/items?include=items {"data": {"type": "items","attributes": {"sku": "${concrete_product.random_weight.sku}","quantity": 1,"salesUnit": {"id": "${sales_unit_id}","amount": 5}}}} diff --git a/tests/api/suite/glue/checkout_endpoints/checkout/positive.robot b/tests/api/suite/glue/checkout_endpoints/checkout/positive.robot index 030a1aab9..09e7e94cf 100644 --- a/tests/api/suite/glue/checkout_endpoints/checkout/positive.robot +++ b/tests/api/suite/glue/checkout_endpoints/checkout/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup ## Important CHECKOUT and CHECKOUT-DATA endpoints require Item ID and NOT intem sku. To get item id add include to the cart endpoint. ## Example: ##I send a POST request: /carts/${cartId}/items?include=items {"data": {"type": "items","attributes": {"sku": "${concrete_product.random_weight.sku}","quantity": 1,"salesUnit": {"id": "${sales_unit_id}","amount": 5}}}} diff --git a/tests/api/suite/glue/checkout_endpoints/checkout_data/negative.robot b/tests/api/suite/glue/checkout_endpoints/checkout_data/negative.robot index a3e203744..d35503d7e 100644 --- a/tests/api/suite/glue/checkout_endpoints/checkout_data/negative.robot +++ b/tests/api/suite/glue/checkout_endpoints/checkout_data/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ### Important CHECKOUT and CHECKOUT-DATA endpoints require Item ID and NOT intem sku. To get item id and include to the cart endpoint. ### Example: ###I send a POST request: /carts/${cartId}/items?include=items {"data": {"type": "items","attributes": {"sku": "${concrete_product.random_weight.sku}","quantity": 1,"salesUnit": {"id": "${sales_unit_id}","amount": 5}}}} diff --git a/tests/api/suite/glue/checkout_endpoints/checkout_data/positive.robot b/tests/api/suite/glue/checkout_endpoints/checkout_data/positive.robot index 945821f4e..0058c1760 100644 --- a/tests/api/suite/glue/checkout_endpoints/checkout_data/positive.robot +++ b/tests/api/suite/glue/checkout_endpoints/checkout_data/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup ### Important CHECKOUT and CHECKOUT-DATA endpoints require Item ID and NOT intem sku. To get item id and include to the cart endpoint. ### Example: ###I send a POST request: /carts/${cartId}/items?include=items {"data": {"type": "items","attributes": {"sku": "${concrete_product.random_weight.sku}","quantity": 1,"salesUnit": {"id": "${sales_unit_id}","amount": 5}}}} diff --git a/tests/api/suite/glue/company_endpoints/companies/negative.robot b/tests/api/suite/glue/company_endpoints/companies/negative.robot index f6380aa1c..222d8fb4e 100644 --- a/tests/api/suite/glue/company_endpoints/companies/negative.robot +++ b/tests/api/suite/glue/company_endpoints/companies/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_company_by_wrong_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/company_endpoints/companies/positive.robot b/tests/api/suite/glue/company_endpoints/companies/positive.robot index 369bef984..d6ec6c14c 100644 --- a/tests/api/suite/glue/company_endpoints/companies/positive.robot +++ b/tests/api/suite/glue/company_endpoints/companies/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_company_by_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/company_endpoints/company_business_unit/negative.robot b/tests/api/suite/glue/company_endpoints/company_business_unit/negative.robot index d8ab14234..c2c0eb3d2 100644 --- a/tests/api/suite/glue/company_endpoints/company_business_unit/negative.robot +++ b/tests/api/suite/glue/company_endpoints/company_business_unit/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_business_unit_by_wrong_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/company_endpoints/company_business_unit/positive.robot b/tests/api/suite/glue/company_endpoints/company_business_unit/positive.robot index 93e47de30..e01bb8683 100644 --- a/tests/api/suite/glue/company_endpoints/company_business_unit/positive.robot +++ b/tests/api/suite/glue/company_endpoints/company_business_unit/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_business_unit_by_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/company_endpoints/company_business_unit_addresses/negative.robot b/tests/api/suite/glue/company_endpoints/company_business_unit_addresses/negative.robot index cb083d70c..be8ea9aec 100644 --- a/tests/api/suite/glue/company_endpoints/company_business_unit_addresses/negative.robot +++ b/tests/api/suite/glue/company_endpoints/company_business_unit_addresses/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_business_unit_address_by_wrong_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/company_endpoints/company_business_unit_addresses/positive.robot b/tests/api/suite/glue/company_endpoints/company_business_unit_addresses/positive.robot index 4e17817d0..eb62e4f50 100644 --- a/tests/api/suite/glue/company_endpoints/company_business_unit_addresses/positive.robot +++ b/tests/api/suite/glue/company_endpoints/company_business_unit_addresses/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_business_units_address_by_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/company_endpoints/company_roles/negative.robot b/tests/api/suite/glue/company_endpoints/company_roles/negative.robot index 7a3e80bf2..4bb00f407 100644 --- a/tests/api/suite/glue/company_endpoints/company_roles/negative.robot +++ b/tests/api/suite/glue/company_endpoints/company_roles/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_company_role_by_wrong_ID [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/company_endpoints/company_roles/positive.robot b/tests/api/suite/glue/company_endpoints/company_roles/positive.robot index c9b30c10c..4d616c1fc 100644 --- a/tests/api/suite/glue/company_endpoints/company_roles/positive.robot +++ b/tests/api/suite/glue/company_endpoints/company_roles/positive.robot @@ -8,8 +8,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_company_role_by_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/company_endpoints/company_user_access_tokens/negative.robot b/tests/api/suite/glue/company_endpoints/company_user_access_tokens/negative.robot index 934b7eeee..4672a9c9f 100644 --- a/tests/api/suite/glue/company_endpoints/company_user_access_tokens/negative.robot +++ b/tests/api/suite/glue/company_endpoints/company_user_access_tokens/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_access_token_by_invalid_company_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/company_endpoints/company_user_access_tokens/positive.robot b/tests/api/suite/glue/company_endpoints/company_user_access_tokens/positive.robot index c4581e55c..3b4e54869 100644 --- a/tests/api/suite/glue/company_endpoints/company_user_access_tokens/positive.robot +++ b/tests/api/suite/glue/company_endpoints/company_user_access_tokens/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_access_token_for_company_user_by_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/company_endpoints/company_users/negative.robot b/tests/api/suite/glue/company_endpoints/company_users/negative.robot index 874b60c64..2ef76fed9 100644 --- a/tests/api/suite/glue/company_endpoints/company_users/negative.robot +++ b/tests/api/suite/glue/company_endpoints/company_users/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieve_list_of_company_users_without_access_token When I send a GET request: /company-users Then Response status code should be: 403 diff --git a/tests/api/suite/glue/company_endpoints/company_users/positive.robot b/tests/api/suite/glue/company_endpoints/company_users/positive.robot index f22ebb44b..b5b9e529a 100644 --- a/tests/api/suite/glue/company_endpoints/company_users/positive.robot +++ b/tests/api/suite/glue/company_endpoints/company_users/positive.robot @@ -5,9 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - Retrieve_list_of_company_users When I get access token for the customer: ${yves_user.email} And I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot b/tests/api/suite/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot index 0ceace145..792c9c9ed 100644 --- a/tests/api/suite/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot +++ b/tests/api/suite/glue/concrete_products_endpoints/concrete_alternative_products/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_concrete_availability_by_abstract_SKU When I send a GET request: /concrete-products/${product_with_alternative.abstract_sku}/concrete-product-availabilities Then Response status code should be: 404 diff --git a/tests/api/suite/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot b/tests/api/suite/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot index 2b8d9187d..f814d5db8 100644 --- a/tests/api/suite/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot +++ b/tests/api/suite/glue/concrete_products_endpoints/concrete_alternative_products/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_concrete_alternative_product_for_a_product_that_has_none When I send a GET request: /concrete-products/${bundle_product.concrete.product_1_sku}/concrete-alternative-products Then Response status code should be: 200 diff --git a/tests/api/suite/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot b/tests/api/suite/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot index e96068612..f13f2b5d2 100644 --- a/tests/api/suite/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot +++ b/tests/api/suite/glue/concrete_products_endpoints/concrete_product_availabilities/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_concrete_availability_by_abstract_SKU When I send a GET request: /concrete-products/${abstract_available_product_with_stock.sku}/concrete-product-availabilities Then Response status code should be: 404 diff --git a/tests/api/suite/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot b/tests/api/suite/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot index a06755f0c..1112d4ed1 100644 --- a/tests/api/suite/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot +++ b/tests/api/suite/glue/concrete_products_endpoints/concrete_product_availabilities/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_concrete_availability_by_concrete_SKU_with_stock When I send a GET request: /concrete-products/${concrete.available_product.with_stock.sku3}/concrete-product-availabilities Then Response status code should be: 200 diff --git a/tests/api/suite/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot b/tests/api/suite/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot index ddacce3f0..275bc3e9a 100644 --- a/tests/api/suite/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot +++ b/tests/api/suite/glue/concrete_products_endpoints/concrete_product_image_sets/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_product_image_with_abstract_SKU When I send a GET request: /concrete-products/${bundle_product.abstract.sku}/concrete-product-image-sets Then Response status code should be: 404 diff --git a/tests/api/suite/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot b/tests/api/suite/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot index c469cc4bd..abd7bdc53 100644 --- a/tests/api/suite/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot +++ b/tests/api/suite/glue/concrete_products_endpoints/concrete_product_image_sets/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_concrete_product_with_one_image_set When I send a GET request: /concrete-products/${concrete_products.one_image_set.sku}/concrete-product-image-sets Then Response status code should be: 200 diff --git a/tests/api/suite/glue/concrete_products_endpoints/concrete_products/negative.robot b/tests/api/suite/glue/concrete_products_endpoints/concrete_products/negative.robot index c7bcc5717..b0a26f5a2 100644 --- a/tests/api/suite/glue/concrete_products_endpoints/concrete_products/negative.robot +++ b/tests/api/suite/glue/concrete_products_endpoints/concrete_products/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Request_product_concrete_with_product_doesn't_exist When I send a GET request: /concrete-products/354656u7i8 Then Response status code should be: 404 diff --git a/tests/api/suite/glue/concrete_products_endpoints/concrete_products/positive.robot b/tests/api/suite/glue/concrete_products_endpoints/concrete_products/positive.robot index 4df740fcc..1da3c796b 100644 --- a/tests/api/suite/glue/concrete_products_endpoints/concrete_products/positive.robot +++ b/tests/api/suite/glue/concrete_products_endpoints/concrete_products/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Request_product_concrete_by_id When I send a GET request: /concrete-products/${product_with_alternative.concrete_sku} Then Response status code should be: 200 diff --git a/tests/api/suite/glue/concrete_products_endpoints/concrete_products_prices/negative.robot b/tests/api/suite/glue/concrete_products_endpoints/concrete_products_prices/negative.robot index 0c54ead57..802af5668 100644 --- a/tests/api/suite/glue/concrete_products_endpoints/concrete_products_prices/negative.robot +++ b/tests/api/suite/glue/concrete_products_endpoints/concrete_products_prices/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Get_product_prices_with_abstract_sku When I send a GET request: /concrete-products/${bundle_product.abstract.product_2_sku}/concrete-product-prices Then Response status code should be: 404 diff --git a/tests/api/suite/glue/concrete_products_endpoints/concrete_products_prices/positive.robot b/tests/api/suite/glue/concrete_products_endpoints/concrete_products_prices/positive.robot index 9c8f1b570..df2bb59a0 100644 --- a/tests/api/suite/glue/concrete_products_endpoints/concrete_products_prices/positive.robot +++ b/tests/api/suite/glue/concrete_products_endpoints/concrete_products_prices/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup - ####GET#### Get_concrete_product_with_only_default_price When I send a GET request: /concrete-products/${concrete_product.product_with_original_prices.concrete_sku}/concrete-product-prices diff --git a/tests/api/suite/glue/configurable_bundle_endpoints/configurable_bundle/negative.robot b/tests/api/suite/glue/configurable_bundle_endpoints/configurable_bundle/negative.robot index bcb2f5a29..a0baa1e1e 100644 --- a/tests/api/suite/glue/configurable_bundle_endpoints/configurable_bundle/negative.robot +++ b/tests/api/suite/glue/configurable_bundle_endpoints/configurable_bundle/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ###### POST ###### Add_configured_bundle_item_to_cart_non_existing_sku [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/suite/glue/configurable_bundle_endpoints/configurable_bundle/positive.robot b/tests/api/suite/glue/configurable_bundle_endpoints/configurable_bundle/positive.robot index 6259f7cca..5e174b4ae 100644 --- a/tests/api/suite/glue/configurable_bundle_endpoints/configurable_bundle/positive.robot +++ b/tests/api/suite/glue/configurable_bundle_endpoints/configurable_bundle/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Add_configured_bundle_item_to_the_cart_with_included_items [Setup] Run Keywords I get access token for the customer: ${yves_second_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/suite/glue/configured_bundles_endpoints/configured_bundles_templates/negative.robot b/tests/api/suite/glue/configured_bundles_endpoints/configured_bundles_templates/negative.robot index 3cebd367b..11e4654ba 100644 --- a/tests/api/suite/glue/configured_bundles_endpoints/configured_bundles_templates/negative.robot +++ b/tests/api/suite/glue/configured_bundles_endpoints/configured_bundles_templates/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_configurable_bundle_templates_by_invalid_configurable_bundle_template_id When I send a GET request: /configurable-bundle-templates/fake Then Response status code should be: 404 diff --git a/tests/api/suite/glue/configured_bundles_endpoints/configured_bundles_templates/positive.robot b/tests/api/suite/glue/configured_bundles_endpoints/configured_bundles_templates/positive.robot index b670e503c..93c20e54a 100644 --- a/tests/api/suite/glue/configured_bundles_endpoints/configured_bundles_templates/positive.robot +++ b/tests/api/suite/glue/configured_bundles_endpoints/configured_bundles_templates/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_configurable_bundle_templates When I send a GET request: /configurable-bundle-templates Then Response status code should be: 200 diff --git a/tests/api/suite/glue/configured_bundles_endpoints/guest_configured_bundles/negative.robot b/tests/api/suite/glue/configured_bundles_endpoints/guest_configured_bundles/negative.robot index 4b8858637..bfef8997b 100644 --- a/tests/api/suite/glue/configured_bundles_endpoints/guest_configured_bundles/negative.robot +++ b/tests/api/suite/glue/configured_bundles_endpoints/guest_configured_bundles/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ### POST ### Add_configured_bundle_with_nonexistent_guest_cart_id [Setup] I set Headers: Content-Type=${default_header_content_type} X-Anonymous-Customer-Unique-Id=${random} diff --git a/tests/api/suite/glue/configured_bundles_endpoints/guest_configured_bundles/positive.robot b/tests/api/suite/glue/configured_bundles_endpoints/guest_configured_bundles/positive.robot index dcbbe1ff5..3030fa384 100644 --- a/tests/api/suite/glue/configured_bundles_endpoints/guest_configured_bundles/positive.robot +++ b/tests/api/suite/glue/configured_bundles_endpoints/guest_configured_bundles/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ### POST ### Add_configured_bundle_with_1_slot_1_product_new_cart [Setup] Run Keywords I set Headers: Content-Type=${default_header_content_type} X-Anonymous-Customer-Unique-Id=${random} diff --git a/tests/api/suite/glue/content_endpoints/cms_pages/negative.robot b/tests/api/suite/glue/content_endpoints/cms_pages/negative.robot index 1272dbd0b..6386fa55c 100644 --- a/tests/api/suite/glue/content_endpoints/cms_pages/negative.robot +++ b/tests/api/suite/glue/content_endpoints/cms_pages/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_cms_page_list_by_fake_id When I send a GET request: /cms-pages/:cms Then Response status code should be: 404 diff --git a/tests/api/suite/glue/content_endpoints/cms_pages/positive.robot b/tests/api/suite/glue/content_endpoints/cms_pages/positive.robot index af4bb9644..22b0a144a 100644 --- a/tests/api/suite/glue/content_endpoints/cms_pages/positive.robot +++ b/tests/api/suite/glue/content_endpoints/cms_pages/positive.robot @@ -6,8 +6,6 @@ Resource ../../../../../../resources/steps/cms_steps.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_cms_pages_list When I send a GET request: /cms-pages Then Response status code should be: 200 diff --git a/tests/api/suite/glue/content_endpoints/content_banners/negative.robot b/tests/api/suite/glue/content_endpoints/content_banners/negative.robot index 5372035d2..223a44ce1 100644 --- a/tests/api/suite/glue/content_endpoints/content_banners/negative.robot +++ b/tests/api/suite/glue/content_endpoints/content_banners/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_banner_without_id When I send a GET request: /content-banners Then Response status code should be: 400 diff --git a/tests/api/suite/glue/content_endpoints/content_banners/positive.robot b/tests/api/suite/glue/content_endpoints/content_banners/positive.robot index bfd02bf09..10f313544 100644 --- a/tests/api/suite/glue/content_endpoints/content_banners/positive.robot +++ b/tests/api/suite/glue/content_endpoints/content_banners/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_banner When I send a GET request: /content-banners/${banner_1.id} Then Response status code should be: 200 diff --git a/tests/api/suite/glue/content_endpoints/content_product_abstract_lists/negative.robot b/tests/api/suite/glue/content_endpoints/content_product_abstract_lists/negative.robot index 131655f4f..0d4305e79 100644 --- a/tests/api/suite/glue/content_endpoints/content_product_abstract_lists/negative.robot +++ b/tests/api/suite/glue/content_endpoints/content_product_abstract_lists/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_abstract_product_list_by_fake_id When I send a GET request: /content-product-abstract-lists/fake Then Response status code should be: 404 diff --git a/tests/api/suite/glue/content_endpoints/content_product_abstract_lists/positive.robot b/tests/api/suite/glue/content_endpoints/content_product_abstract_lists/positive.robot index fb1b9df06..d9b85b135 100644 --- a/tests/api/suite/glue/content_endpoints/content_product_abstract_lists/positive.robot +++ b/tests/api/suite/glue/content_endpoints/content_product_abstract_lists/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Abstract_product_list When I send a GET request: /content-product-abstract-lists/${abstract_product_list.id} Then Response status code should be: 200 diff --git a/tests/api/suite/glue/customer_endpoints/addresses/negative.robot b/tests/api/suite/glue/customer_endpoints/addresses/negative.robot index 8648305d8..55156eb85 100644 --- a/tests/api/suite/glue/customer_endpoints/addresses/negative.robot +++ b/tests/api/suite/glue/customer_endpoints/addresses/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST# Create_customer_address_with_missing_required_fields When I get access token for the customer: ${yves_user.email} diff --git a/tests/api/suite/glue/customer_endpoints/addresses/positive.robot b/tests/api/suite/glue/customer_endpoints/addresses/positive.robot index ed53e6b58..fa080bd84 100644 --- a/tests/api/suite/glue/customer_endpoints/addresses/positive.robot +++ b/tests/api/suite/glue/customer_endpoints/addresses/positive.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #POST# Create_customer_address_with_all_fields [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/suite/glue/customer_endpoints/customer_access/negative.robot b/tests/api/suite/glue/customer_endpoints/customer_access/negative.robot index a26800bc4..a456cb75d 100644 --- a/tests/api/suite/glue/customer_endpoints/customer_access/negative.robot +++ b/tests/api/suite/glue/customer_endpoints/customer_access/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Access_restricted_resource_as_not_authorized_customer I send a GET request: /wishlists Response status code should be: 403 diff --git a/tests/api/suite/glue/customer_endpoints/customer_access/positive.robot b/tests/api/suite/glue/customer_endpoints/customer_access/positive.robot index 042b000ac..77493c566 100644 --- a/tests/api/suite/glue/customer_endpoints/customer_access/positive.robot +++ b/tests/api/suite/glue/customer_endpoints/customer_access/positive.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Resources_list_which_customer_can_access I send a GET request: /customer-access Response status code should be: 200 diff --git a/tests/api/suite/glue/customer_endpoints/customer_confirmation/negative.robot b/tests/api/suite/glue/customer_endpoints/customer_confirmation/negative.robot index 98b6646d6..4db462550 100644 --- a/tests/api/suite/glue/customer_endpoints/customer_confirmation/negative.robot +++ b/tests/api/suite/glue/customer_endpoints/customer_confirmation/negative.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Customer_confirmation_with_wrong_confirmation_key And I send a POST request: /customer-confirmation {"data":{"type":"customer-confirmation","attributes":{"registrationKey":"39085d16b04b34265910c7ea2a35367ggh"}}} Response status code should be: 422 diff --git a/tests/api/suite/glue/customer_endpoints/customer_confirmation/positive.robot b/tests/api/suite/glue/customer_endpoints/customer_confirmation/positive.robot index ad0cf0e46..2b13f3814 100644 --- a/tests/api/suite/glue/customer_endpoints/customer_confirmation/positive.robot +++ b/tests/api/suite/glue/customer_endpoints/customer_confirmation/positive.robot @@ -4,11 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - - Customer_confirmation [Setup] Run Keywords I send a POST request: /customers {"data":{"type":"customers","attributes":{"firstName":"${yves_third_user.first_name}","lastName":"${yves_third_user.last_name}","gender":"${gender.male}","salutation":"${yves_third_user.salutation}","email":"${yves_third_user.first_name}.${yves_third_user.last_name}${random}@spryker.com","password":"${yves_third_user.password_new}","confirmPassword":"${yves_third_user.password_new}","acceptedTerms":True}}} ... AND Response status code should be: 201 diff --git a/tests/api/suite/glue/customer_endpoints/customer_forgotten_password/negative.robot b/tests/api/suite/glue/customer_endpoints/customer_forgotten_password/negative.robot index 7965e6ee2..cebc492b2 100644 --- a/tests/api/suite/glue/customer_endpoints/customer_forgotten_password/negative.robot +++ b/tests/api/suite/glue/customer_endpoints/customer_forgotten_password/negative.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Forgot_password_wrong_email_format I send a POST request: /customer-forgotten-password {"data":{"type":"customer-forgotten-password","attributes":{"email":"123"}}} Response status code should be: 422 diff --git a/tests/api/suite/glue/customer_endpoints/customer_forgotten_password/positive.robot b/tests/api/suite/glue/customer_endpoints/customer_forgotten_password/positive.robot index d91b3a150..ce838c5fd 100644 --- a/tests/api/suite/glue/customer_endpoints/customer_forgotten_password/positive.robot +++ b/tests/api/suite/glue/customer_endpoints/customer_forgotten_password/positive.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Forgot_password_with_all_required_fields_and_valid_data I send a POST request: /customer-forgotten-password {"data":{"type":"customer-forgotten-password","attributes":{"email":"${yves_user.email}"}}} Response status code should be: 204 diff --git a/tests/api/suite/glue/customer_endpoints/customer_password/negative.robot b/tests/api/suite/glue/customer_endpoints/customer_password/negative.robot index d1235ae4d..f0fd9c99c 100644 --- a/tests/api/suite/glue/customer_endpoints/customer_password/negative.robot +++ b/tests/api/suite/glue/customer_endpoints/customer_password/negative.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Update_customer_password_with_not_equal_new_password Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/suite/glue/customer_endpoints/customer_password/positive.robot b/tests/api/suite/glue/customer_endpoints/customer_password/positive.robot index 45cdcd188..c0cea42c3 100644 --- a/tests/api/suite/glue/customer_endpoints/customer_password/positive.robot +++ b/tests/api/suite/glue/customer_endpoints/customer_password/positive.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Update_customer_password_with_all_required_fields_and_valid_data [Setup] Run Keywords I send a POST request: /access-tokens {"data":{"type":"access-tokens","attributes":{"username":"${yves_eighth_user.email}","password":"${yves_eighth_user.password}"}}} ... AND Response status code should be: 201 diff --git a/tests/api/suite/glue/customer_endpoints/customer_restore_password/negative.robot b/tests/api/suite/glue/customer_endpoints/customer_restore_password/negative.robot index 73225162d..aece43040 100644 --- a/tests/api/suite/glue/customer_endpoints/customer_restore_password/negative.robot +++ b/tests/api/suite/glue/customer_endpoints/customer_restore_password/negative.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Restore_password_without_customer_id I send a PATCH request: /customer-restore-password/ {"data":{"type":"customer-restore-password","attributes":{"restorePasswordKey":"5ec608df9c0dd57c3dd08b540d4a68da","password":"${yves_user.password}","confirmPassword":"${yves_user.password}"}}} And Response status code should be: 400 diff --git a/tests/api/suite/glue/customer_endpoints/customer_restore_password/positive.robot b/tests/api/suite/glue/customer_endpoints/customer_restore_password/positive.robot index 0b1fa8402..a820b52fb 100644 --- a/tests/api/suite/glue/customer_endpoints/customer_restore_password/positive.robot +++ b/tests/api/suite/glue/customer_endpoints/customer_restore_password/positive.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Restore_password_with_all_required_fields_and_valid_data [Setup] Run Keywords I send a POST request: /customers/ {"data":{"type":"customers","attributes":{"firstName":"${yves_ninth_user.first_name}","lastName":"${yves_ninth_user.last_name}","gender":"${gender.female}","salutation":"${yves_ninth_user.salutation}","email":"${email.name}${random}${email.domain}","password":"${yves_ninth_user.password}","confirmPassword":"${yves_ninth_user.password}","acceptedTerms":True}}} ... AND Response status code should be: 201 diff --git a/tests/api/suite/glue/customer_endpoints/customers/negative.robot b/tests/api/suite/glue/customer_endpoints/customers/negative.robot index b82813b61..20f1496a1 100644 --- a/tests/api/suite/glue/customer_endpoints/customers/negative.robot +++ b/tests/api/suite/glue/customer_endpoints/customers/negative.robot @@ -4,10 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup - Create_a_customer_with_already_existing_email I send a POST request: /customers/ {"data":{"type":"customers","attributes":{"firstName":"${yves_third_user.first_name}","lastName":"${yves_third_user.last_name}","gender":"${gender.male}","salutation":"${yves_third_user.salutation}","email":"${yves_user.email}","password":"${yves_user.password_new}","confirmPassword":"${yves_user.password_new}","acceptedTerms":True}}} Response status code should be: 422 diff --git a/tests/api/suite/glue/customer_endpoints/customers/positive.robot b/tests/api/suite/glue/customer_endpoints/customers/positive.robot index 78122eb18..e4ea9b0b2 100644 --- a/tests/api/suite/glue/customer_endpoints/customers/positive.robot +++ b/tests/api/suite/glue/customer_endpoints/customers/positive.robot @@ -4,9 +4,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup Create_customer I send a POST request: /customers/ {"data":{"type":"customers","attributes":{"firstName":"${yves_third_user.first_name}","lastName":"${yves_third_user.last_name}","gender":"${gender.male}","salutation":"${yves_third_user.salutation}","email":"${email.name}+${random}${email.domain}","password":"${yves_user.password_new}","confirmPassword":"${yves_user.password_new}","acceptedTerms":True}}} Response status code should be: 201 diff --git a/tests/api/suite/glue/discount_endpoints/vouchers/negative.robot b/tests/api/suite/glue/discount_endpoints/vouchers/negative.robot index 9163cb9da..c82868cae 100644 --- a/tests/api/suite/glue/discount_endpoints/vouchers/negative.robot +++ b/tests/api/suite/glue/discount_endpoints/vouchers/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests Add_voucher_code_to_cart_with_invalid_access_token [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/suite/glue/discount_endpoints/vouchers/positive.robot b/tests/api/suite/glue/discount_endpoints/vouchers/positive.robot index 617c020a7..84fd76207 100644 --- a/tests/api/suite/glue/discount_endpoints/vouchers/positive.robot +++ b/tests/api/suite/glue/discount_endpoints/vouchers/positive.robot @@ -5,11 +5,7 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST requests - Add_voucher_code_to_cart [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/suite/glue/general_product_endpoints/product_labels/negative.robot b/tests/api/suite/glue/general_product_endpoints/product_labels/negative.robot index 74f280682..908c1281f 100644 --- a/tests/api/suite/glue/general_product_endpoints/product_labels/negative.robot +++ b/tests/api/suite/glue/general_product_endpoints/product_labels/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_product_label_with_invalid_label_id When I send a GET request: /product-labels/fake Then Response status code should be: 404 diff --git a/tests/api/suite/glue/general_product_endpoints/product_labels/positive.robot b/tests/api/suite/glue/general_product_endpoints/product_labels/positive.robot index 4007b29e6..5f06591de 100644 --- a/tests/api/suite/glue/general_product_endpoints/product_labels/positive.robot +++ b/tests/api/suite/glue/general_product_endpoints/product_labels/positive.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_manual_product_label_by_id [Documentation] https://spryker.atlassian.net/browse/CC-25716 [Tags] skip-due-to-issue diff --git a/tests/api/suite/glue/general_product_endpoints/product_management_attributes/negative.robot b/tests/api/suite/glue/general_product_endpoints/product_management_attributes/negative.robot index b3689cd6d..f8e908dec 100644 --- a/tests/api/suite/glue/general_product_endpoints/product_management_attributes/negative.robot +++ b/tests/api/suite/glue/general_product_endpoints/product_management_attributes/negative.robot @@ -4,10 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue -*** Test Cases *** -ENABLER - API_test_setup - +*** Test Cases *** Get_an_attribute_with_non_existent_attribute_id When I send a GET request: /product-management-attributes/fake Then Response status code should be: 404 diff --git a/tests/api/suite/glue/general_product_endpoints/product_management_attributes/positive.robot b/tests/api/suite/glue/general_product_endpoints/product_management_attributes/positive.robot index edcc3c3b7..ce8fc4b32 100644 --- a/tests/api/suite/glue/general_product_endpoints/product_management_attributes/positive.robot +++ b/tests/api/suite/glue/general_product_endpoints/product_management_attributes/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_all_product_management_attributes When I send a GET request: /product-management-attributes Then Response status code should be: 200 diff --git a/tests/api/suite/glue/general_product_endpoints/product_reviews/negative.robot b/tests/api/suite/glue/general_product_endpoints/product_reviews/negative.robot index 441ddfdb7..c3bc9e746 100644 --- a/tests/api/suite/glue/general_product_endpoints/product_reviews/negative.robot +++ b/tests/api/suite/glue/general_product_endpoints/product_reviews/negative.robot @@ -5,10 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - - Get_a_review_with_non_existent_review_id When I send a GET request: /abstract-products/${abstract_product.product_with_reviews.sku}/product-reviews/fake Then Response status code should be: 404 diff --git a/tests/api/suite/glue/general_product_endpoints/product_reviews/positive.robot b/tests/api/suite/glue/general_product_endpoints/product_reviews/positive.robot index 62ef5e7c5..81d33f5dc 100644 --- a/tests/api/suite/glue/general_product_endpoints/product_reviews/positive.robot +++ b/tests/api/suite/glue/general_product_endpoints/product_reviews/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup #Get Request Get_product_reviews When I send a GET request: /abstract-products/${abstract_product.product_with_reviews.sku}/product-reviews diff --git a/tests/api/suite/glue/general_product_endpoints/product_tax_sets/negative.robot b/tests/api/suite/glue/general_product_endpoints/product_tax_sets/negative.robot index 5502a15b6..592ee7064 100644 --- a/tests/api/suite/glue/general_product_endpoints/product_tax_sets/negative.robot +++ b/tests/api/suite/glue/general_product_endpoints/product_tax_sets/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_a_tax_set_with_invalid_concrete_sku When I send a GET request: /abstract-products/test123/product-tax-sets Then Response status code should be: 404 diff --git a/tests/api/suite/glue/general_product_endpoints/product_tax_sets/positive.robot b/tests/api/suite/glue/general_product_endpoints/product_tax_sets/positive.robot index 9bdf06906..a1adbf476 100644 --- a/tests/api/suite/glue/general_product_endpoints/product_tax_sets/positive.robot +++ b/tests/api/suite/glue/general_product_endpoints/product_tax_sets/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_tax sets When I send a GET request: /abstract-products/${abstract_product.product_with_reviews.sku}/product-tax-sets Then Response status code should be: 200 diff --git a/tests/api/suite/glue/general_product_endpoints/related_products/negative.robot b/tests/api/suite/glue/general_product_endpoints/related_products/negative.robot index cfa3db9d3..23a140683 100644 --- a/tests/api/suite/glue/general_product_endpoints/related_products/negative.robot +++ b/tests/api/suite/glue/general_product_endpoints/related_products/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_related_products_without_abstract_SKU When I send a GET request: /abstract-products//related-products Then Response status code should be: 400 diff --git a/tests/api/suite/glue/general_product_endpoints/related_products/positive.robot b/tests/api/suite/glue/general_product_endpoints/related_products/positive.robot index 70614fc86..e7f4af24f 100644 --- a/tests/api/suite/glue/general_product_endpoints/related_products/positive.robot +++ b/tests/api/suite/glue/general_product_endpoints/related_products/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Product_has_related_products When I send a GET request: /abstract-products/${product_with_relations.has_related_products.sku}/related-products Then Response status code should be: 200 diff --git a/tests/api/suite/glue/general_product_endpoints/upselling_products/negative.robot b/tests/api/suite/glue/general_product_endpoints/upselling_products/negative.robot index 8b5a4fd8a..ecd50cfd8 100644 --- a/tests/api/suite/glue/general_product_endpoints/upselling_products/negative.robot +++ b/tests/api/suite/glue/general_product_endpoints/upselling_products/negative.robot @@ -5,10 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - - #Logged in customer's cart Get_upselling_products_with_missing_cart_id [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/suite/glue/general_product_endpoints/upselling_products/positive.robot b/tests/api/suite/glue/general_product_endpoints/upselling_products/positive.robot index 885233d04..bacc74840 100644 --- a/tests/api/suite/glue/general_product_endpoints/upselling_products/positive.robot +++ b/tests/api/suite/glue/general_product_endpoints/upselling_products/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_upselling_products [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/guest_carts/guest_cart_items/negative.robot b/tests/api/suite/glue/guest_carts/guest_cart_items/negative.robot index 56fb45199..7ae445391 100644 --- a/tests/api/suite/glue/guest_carts/guest_cart_items/negative.robot +++ b/tests/api/suite/glue/guest_carts/guest_cart_items/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup ### Important CHECKOUT and CHECKOUT-DATA endpoints require Item ID and NOT intem sku. To get item id and include to the cart endpoint. ### Example: ###I send a POST request: /carts/${cartId}/items?include=items {"data": {"type": "items","attributes": {"sku": "${concrete_product.random_weight.sku}","quantity": 1,"salesUnit": {"id": "${sales_unit_id}","amount": 5}}}} diff --git a/tests/api/suite/glue/guest_carts/guest_cart_items/positive.robot b/tests/api/suite/glue/guest_carts/guest_cart_items/positive.robot index 3bd287b72..9f3a03780 100644 --- a/tests/api/suite/glue/guest_carts/guest_cart_items/positive.robot +++ b/tests/api/suite/glue/guest_carts/guest_cart_items/positive.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup ### Important CHECKOUT and CHECKOUT-DATA endpoints require Item ID and NOT intem sku. To get item id and include to the cart endpoint. ### Example: ### I send a GET request: /guest-carts/${guestCartId}?include=guest-cart-items diff --git a/tests/api/suite/glue/merchant_endpoints/merchant_addresses/negative.robot b/tests/api/suite/glue/merchant_endpoints/merchant_addresses/negative.robot index 9724db4b7..7c4e7d605 100644 --- a/tests/api/suite/glue/merchant_endpoints/merchant_addresses/negative.robot +++ b/tests/api/suite/glue/merchant_endpoints/merchant_addresses/negative.robot @@ -6,9 +6,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_addresses_by_non_exist_merchant_id When I send a GET request: /merchants/NonExistId/merchant-addresses Then Response status code should be: 404 diff --git a/tests/api/suite/glue/merchant_endpoints/merchant_addresses/positive.robot b/tests/api/suite/glue/merchant_endpoints/merchant_addresses/positive.robot index 9454275ea..7bcf5c938 100644 --- a/tests/api/suite/glue/merchant_endpoints/merchant_addresses/positive.robot +++ b/tests/api/suite/glue/merchant_endpoints/merchant_addresses/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_addresses When I send a GET request: /merchants/${merchants.sony_experts.merchant_reference}/merchant-addresses Then Response status code should be: 200 diff --git a/tests/api/suite/glue/merchant_endpoints/merchant_opening_hours/negative.robot b/tests/api/suite/glue/merchant_endpoints/merchant_opening_hours/negative.robot index 32a70e508..87b2e466f 100644 --- a/tests/api/suite/glue/merchant_endpoints/merchant_opening_hours/negative.robot +++ b/tests/api/suite/glue/merchant_endpoints/merchant_opening_hours/negative.robot @@ -6,9 +6,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_opening_hours_by_non_exist_merchant_id When I send a GET request: /merchants/NonExistId/merchant-opening-hours Then Response status code should be: 404 diff --git a/tests/api/suite/glue/merchant_endpoints/merchant_opening_hours/positive.robot b/tests/api/suite/glue/merchant_endpoints/merchant_opening_hours/positive.robot index bc5887965..567aaecb4 100644 --- a/tests/api/suite/glue/merchant_endpoints/merchant_opening_hours/positive.robot +++ b/tests/api/suite/glue/merchant_endpoints/merchant_opening_hours/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_opening_hours When I send a GET request: /merchants/${merchants.sony_experts.merchant_reference}/merchant-opening-hours Then Response status code should be: 200 diff --git a/tests/api/suite/glue/merchant_endpoints/merchants/negative.robot b/tests/api/suite/glue/merchant_endpoints/merchants/negative.robot index f661e5d05..389ea0720 100644 --- a/tests/api/suite/glue/merchant_endpoints/merchants/negative.robot +++ b/tests/api/suite/glue/merchant_endpoints/merchants/negative.robot @@ -4,12 +4,7 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot Test Tags glue - - *** Test Cases *** -ENABLER - API_test_setup - Retrieves_merchant_by_non_exist_id When I send a GET request: /merchants/NonExistId Then Response status code should be: 404 diff --git a/tests/api/suite/glue/merchant_endpoints/merchants/positive.robot b/tests/api/suite/glue/merchant_endpoints/merchants/positive.robot index 65b7b2eee..67d38d4fb 100644 --- a/tests/api/suite/glue/merchant_endpoints/merchants/positive.robot +++ b/tests/api/suite/glue/merchant_endpoints/merchants/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_list_of_merchants When I send a GET request: /merchants Then Response status code should be: 200 diff --git a/tests/api/suite/glue/navigation_endpoints/navigations/negative.robot b/tests/api/suite/glue/navigation_endpoints/navigations/negative.robot index dcf0b3695..a58b039e8 100644 --- a/tests/api/suite/glue/navigation_endpoints/navigations/negative.robot +++ b/tests/api/suite/glue/navigation_endpoints/navigations/negative.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup Get_navigations_by_non_exist_id When I send a GET request: /navigations/testNonExistNavigations Then Response status code should be: 404 diff --git a/tests/api/suite/glue/navigation_endpoints/navigations/positive.robot b/tests/api/suite/glue/navigation_endpoints/navigations/positive.robot index 42171b0c5..836bdc7b6 100644 --- a/tests/api/suite/glue/navigation_endpoints/navigations/positive.robot +++ b/tests/api/suite/glue/navigation_endpoints/navigations/positive.robot @@ -5,8 +5,6 @@ Test Tags glue Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup To_retrieve_a_navigation_tree When I send a GET request: /navigations/MAIN_NAVIGATION Then Response status code should be: 200 diff --git a/tests/api/suite/glue/order_endpoints/orders/negative.robot b/tests/api/suite/glue/order_endpoints/orders/negative.robot index c5ca456d1..e938b0c7d 100644 --- a/tests/api/suite/glue/order_endpoints/orders/negative.robot +++ b/tests/api/suite/glue/order_endpoints/orders/negative.robot @@ -5,8 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup ### Important CHECKOUT and CHECKOUT-DATA endpoints require Item ID and NOT intem sku. To get item id and include to the cart endpoint. ### Example: ###I send a POST request: /carts/${cartId}/items?include=items {"data": {"type": "items","attributes": {"sku": "${concrete_product.random_weight.sku}","quantity": 1,"salesUnit": {"id": "${sales_unit_id}","amount": 5}}}} diff --git a/tests/api/suite/glue/order_endpoints/orders/positive.robot b/tests/api/suite/glue/order_endpoints/orders/positive.robot index 95a6049d8..1f3d67a49 100644 --- a/tests/api/suite/glue/order_endpoints/orders/positive.robot +++ b/tests/api/suite/glue/order_endpoints/orders/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - ### Important CHECKOUT and CHECKOUT-DATA endpoints require Item ID and NOT intem sku. To get item id and include to the cart endpoint. ### Example: ###I send a POST request: /carts/${cartId}/items?include=items {"data": {"type": "items","attributes": {"sku": "${concrete_product.random_weight.sku}","quantity": 1,"salesUnit": {"id": "${sales_unit_id}","amount": 5}}}} diff --git a/tests/api/suite/glue/product_offer_endpoints/product_offer_availabilities/negative.robot b/tests/api/suite/glue/product_offer_endpoints/product_offer_availabilities/negative.robot index c5e1d7240..1a85e88af 100644 --- a/tests/api/suite/glue/product_offer_endpoints/product_offer_availabilities/negative.robot +++ b/tests/api/suite/glue/product_offer_endpoints/product_offer_availabilities/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_offer_availabilities_without_offerId When I send a GET request: /product-offers//product-offer-availabilities Then Response status code should be: 400 diff --git a/tests/api/suite/glue/product_offer_endpoints/product_offer_availabilities/positive.robot b/tests/api/suite/glue/product_offer_endpoints/product_offer_availabilities/positive.robot index 0f7de98f3..1cc1974e2 100644 --- a/tests/api/suite/glue/product_offer_endpoints/product_offer_availabilities/positive.robot +++ b/tests/api/suite/glue/product_offer_endpoints/product_offer_availabilities/positive.robot @@ -5,10 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - - Get_product_offer_availabilities I send a GET request: /concrete-products/${concrete_product.product_with_concrete_offers.sku}/product-offers AND Save value to a variable: [data][0][id] offerId diff --git a/tests/api/suite/glue/product_offer_endpoints/product_offer_prices/negative.robot b/tests/api/suite/glue/product_offer_endpoints/product_offer_prices/negative.robot index 3bed5ab18..665ba90ad 100644 --- a/tests/api/suite/glue/product_offer_endpoints/product_offer_prices/negative.robot +++ b/tests/api/suite/glue/product_offer_endpoints/product_offer_prices/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_product_offer_prices_without_offer_id When I send a GET request: /product-offers//product-offer-prices Then Response status code should be: 400 diff --git a/tests/api/suite/glue/product_offer_endpoints/product_offer_prices/positive.robot b/tests/api/suite/glue/product_offer_endpoints/product_offer_prices/positive.robot index 551dea9f7..46127a3e7 100644 --- a/tests/api/suite/glue/product_offer_endpoints/product_offer_prices/positive.robot +++ b/tests/api/suite/glue/product_offer_endpoints/product_offer_prices/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieve_prices_of_a_product_offer When I send a GET request: /product-offers/${active_offer}/product-offer-prices Then Response reason should be: OK diff --git a/tests/api/suite/glue/product_offer_endpoints/product_offers/negative.robot b/tests/api/suite/glue/product_offer_endpoints/product_offers/negative.robot index 22d669d87..d17ec85b9 100644 --- a/tests/api/suite/glue/product_offer_endpoints/product_offers/negative.robot +++ b/tests/api/suite/glue/product_offer_endpoints/product_offers/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_product_offers_without_product_offer_id When I send a GET request: /product-offers/ Then Response status code should be: 400 diff --git a/tests/api/suite/glue/product_offer_endpoints/product_offers/positive.robot b/tests/api/suite/glue/product_offer_endpoints/product_offers/positive.robot index c96cbe9ae..bc2d72e79 100644 --- a/tests/api/suite/glue/product_offer_endpoints/product_offers/positive.robot +++ b/tests/api/suite/glue/product_offer_endpoints/product_offers/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_concrete_product_without_offers When I send a GET request: /concrete-products/${bundle_product.concrete.product_1_sku}/product-offers Then Response status code should be: 200 diff --git a/tests/api/suite/glue/quote_requests_endpoint/quote_requests/negative.robot b/tests/api/suite/glue/quote_requests_endpoint/quote_requests/negative.robot index 1511b631c..da5d6cca4 100644 --- a/tests/api/suite/glue/quote_requests_endpoint/quote_requests/negative.robot +++ b/tests/api/suite/glue/quote_requests_endpoint/quote_requests/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST# Create_quote_request_without_access_token [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/suite/glue/quote_requests_endpoint/quote_requests/positive.robot b/tests/api/suite/glue/quote_requests_endpoint/quote_requests/positive.robot index 40b1f03aa..71f7a0d9f 100644 --- a/tests/api/suite/glue/quote_requests_endpoint/quote_requests/positive.robot +++ b/tests/api/suite/glue/quote_requests_endpoint/quote_requests/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #POST# Create_quote_request [Setup] Run Keywords I get access token for the customer: ${yves_user.email} diff --git a/tests/api/suite/glue/return_endpoints/return_reasons/positive.robot b/tests/api/suite/glue/return_endpoints/return_reasons/positive.robot index 453f4389c..2840b2646 100644 --- a/tests/api/suite/glue/return_endpoints/return_reasons/positive.robot +++ b/tests/api/suite/glue/return_endpoints/return_reasons/positive.robot @@ -6,8 +6,6 @@ Test Tags glue *** Test Cases *** #GET requests -ENABLER - API_test_setup Get_return_reason When I send a GET request: /return-reasons Then Response status code should be: 200 diff --git a/tests/api/suite/glue/return_endpoints/returns/negative.robot b/tests/api/suite/glue/return_endpoints/returns/negative.robot index ecf786397..292e95858 100644 --- a/tests/api/suite/glue/return_endpoints/returns/negative.robot +++ b/tests/api/suite/glue/return_endpoints/returns/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup ### Important CHECKOUT and CHECKOUT-DATA endpoints require Item ID and NOT intem sku. To get item id and include to the cart endpoint. ### Example: ###I send a POST request: /carts/${cartId}/items?include=items {"data": {"type": "items","attributes": {"sku": "${concrete_product.random_weight.sku}","quantity": 1,"salesUnit": {"id": "${sales_unit_id}","amount": 5}}}} diff --git a/tests/api/suite/glue/return_endpoints/returns/positive.robot b/tests/api/suite/glue/return_endpoints/returns/positive.robot index 573e863f9..814b7ae1a 100644 --- a/tests/api/suite/glue/return_endpoints/returns/positive.robot +++ b/tests/api/suite/glue/return_endpoints/returns/positive.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Resource ../../../../../../resources/common/common_api.robot *** Test Cases *** -ENABLER - API_test_setup ### Important CHECKOUT and CHECKOUT-DATA endpoints require Item ID and NOT intem sku. To get item id and include to the cart endpoint. ### Example: ###I send a POST request: /carts/${cartId}/items?include=items {"data": {"type": "items","attributes": {"sku": "${concrete_product.random_weight.sku}","quantity": 1,"salesUnit": {"id": "${sales_unit_id}","amount": 5}}}} diff --git a/tests/api/suite/glue/search_endpoints/catalog_search/negative.robot b/tests/api/suite/glue/search_endpoints/catalog_search/negative.robot index 02b6e8341..93f136045 100644 --- a/tests/api/suite/glue/search_endpoints/catalog_search/negative.robot +++ b/tests/api/suite/glue/search_endpoints/catalog_search/negative.robot @@ -7,9 +7,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Search_without_query_parameter [Documentation] bug https://spryker.atlassian.net/browse/CC-15983 [Tags] skip-due-to-issue diff --git a/tests/api/suite/glue/search_endpoints/catalog_search/positive.robot b/tests/api/suite/glue/search_endpoints/catalog_search/positive.robot index 9c302afa4..c73cbed4e 100644 --- a/tests/api/suite/glue/search_endpoints/catalog_search/positive.robot +++ b/tests/api/suite/glue/search_endpoints/catalog_search/positive.robot @@ -6,12 +6,6 @@ Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - - -# SEARCH PARAMETERS # - Search_with_empty_search_criteria_all_default_values_check When I send a GET request: /catalog-search?q= Then Response status code should be: 200 diff --git a/tests/api/suite/glue/search_endpoints/catalog_search_suggestions/positive.robot b/tests/api/suite/glue/search_endpoints/catalog_search_suggestions/positive.robot index 52b095408..9e623c926 100644 --- a/tests/api/suite/glue/search_endpoints/catalog_search_suggestions/positive.robot +++ b/tests/api/suite/glue/search_endpoints/catalog_search_suggestions/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_search_suggestions_without_query_parameter When I send a GET request: /catalog-search-suggestions Then Response status code should be: 200 diff --git a/tests/api/suite/glue/service_points_endpoints/service_point_addresses/negative.robot b/tests/api/suite/glue/service_points_endpoints/service_point_addresses/negative.robot index 79ea1da7b..efba4be99 100644 --- a/tests/api/suite/glue/service_points_endpoints/service_point_addresses/negative.robot +++ b/tests/api/suite/glue/service_points_endpoints/service_point_addresses/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_list_of_service_point_addresses When I send a GET request: /service-points/${servicePoints[0].uuid}/service-point-addresses Then Response status code should be: 404 diff --git a/tests/api/suite/glue/service_points_endpoints/service_point_addresses/positive.robot b/tests/api/suite/glue/service_points_endpoints/service_point_addresses/positive.robot index 679c33cae..7fbd267be 100644 --- a/tests/api/suite/glue/service_points_endpoints/service_point_addresses/positive.robot +++ b/tests/api/suite/glue/service_points_endpoints/service_point_addresses/positive.robot @@ -6,7 +6,6 @@ Test Tags glue *** Test Cases *** ENABLER - API_test_setup Deactivate service points Retrieves_a_service_point_address_by_id diff --git a/tests/api/suite/glue/service_points_endpoints/service_points/negative.robot b/tests/api/suite/glue/service_points_endpoints/service_points/negative.robot index 0f6f1c9e5..a8f1b44ea 100644 --- a/tests/api/suite/glue/service_points_endpoints/service_points/negative.robot +++ b/tests/api/suite/glue/service_points_endpoints/service_points/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/steps/service_point_steps.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Retrieves_list_of_service_points_by_incorrect_url When I send a GET request: /service-point Then Response status code should be: 404 diff --git a/tests/api/suite/glue/service_points_endpoints/service_points/positive.robot b/tests/api/suite/glue/service_points_endpoints/service_points/positive.robot index 6ff5b786e..3338f8453 100644 --- a/tests/api/suite/glue/service_points_endpoints/service_points/positive.robot +++ b/tests/api/suite/glue/service_points_endpoints/service_points/positive.robot @@ -6,7 +6,6 @@ Test Tags glue *** Test Cases *** ENABLER - API_test_setup Deactivate service points Retrieves_list_of_service_points diff --git a/tests/api/suite/glue/shopping_list_endpoints/shopping_list_items/negative.robot b/tests/api/suite/glue/shopping_list_endpoints/shopping_list_items/negative.robot index 4035b229a..35e1b090d 100644 --- a/tests/api/suite/glue/shopping_list_endpoints/shopping_list_items/negative.robot +++ b/tests/api/suite/glue/shopping_list_endpoints/shopping_list_items/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Add_a_concrete_product_to_the_shopping_list_without_access_token I send a POST request: /shopping-lists/${1st_shopping_list.id}/shopping-list-items {"data":{"type":"shopping-list-items","attributes":{"sku":"${concrete_available_product.sku}","quantity":1}}} And Response status code should be: 403 diff --git a/tests/api/suite/glue/shopping_list_endpoints/shopping_list_items/positive.robot b/tests/api/suite/glue/shopping_list_endpoints/shopping_list_items/positive.robot index d9fd0a1bc..aea9fd6ea 100644 --- a/tests/api/suite/glue/shopping_list_endpoints/shopping_list_items/positive.robot +++ b/tests/api/suite/glue/shopping_list_endpoints/shopping_list_items/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Add_a_concrete_product_to_the_shopping_list [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/shopping_list_endpoints/shopping_lists/negative.robot b/tests/api/suite/glue/shopping_list_endpoints/shopping_lists/negative.robot index 62adedcb8..061c3ed0a 100644 --- a/tests/api/suite/glue/shopping_list_endpoints/shopping_lists/negative.robot +++ b/tests/api/suite/glue/shopping_list_endpoints/shopping_lists/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_shopping_list_with_empty_type I send a POST request: /shopping-lists {"data":{"type":"","attributes":{"name":"${shopping_list_name}${random}"}}} Response status code should be: 400 diff --git a/tests/api/suite/glue/shopping_list_endpoints/shopping_lists/positive.robot b/tests/api/suite/glue/shopping_list_endpoints/shopping_lists/positive.robot index f8ba107b7..8210f5094 100644 --- a/tests/api/suite/glue/shopping_list_endpoints/shopping_lists/positive.robot +++ b/tests/api/suite/glue/shopping_list_endpoints/shopping_lists/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Create_a_shopping_list [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Content-Type=${default_header_content_type} Authorization=${token} diff --git a/tests/api/suite/glue/utility_endpoints/health_checks/negative.robot b/tests/api/suite/glue/utility_endpoints/health_checks/negative.robot index 25782eec6..5adc8a360 100644 --- a/tests/api/suite/glue/utility_endpoints/health_checks/negative.robot +++ b/tests/api/suite/glue/utility_endpoints/health_checks/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - #GET requests ### Precondition: To run commented tests need to enable service endpoints and uncomment tests diff --git a/tests/api/suite/glue/utility_endpoints/health_checks/positive.robot b/tests/api/suite/glue/utility_endpoints/health_checks/positive.robot index 6a70a16e5..eb858bf81 100644 --- a/tests/api/suite/glue/utility_endpoints/health_checks/positive.robot +++ b/tests/api/suite/glue/utility_endpoints/health_checks/positive.robot @@ -5,10 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - - # GET requests # Precondition: To run commented tests need to enable service endpoints and uncomment tests diff --git a/tests/api/suite/glue/utility_endpoints/stores/negative.robot b/tests/api/suite/glue/utility_endpoints/stores/negative.robot index b567ec3aa..5b55b0844 100644 --- a/tests/api/suite/glue/utility_endpoints/stores/negative.robot +++ b/tests/api/suite/glue/utility_endpoints/stores/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_store_by_non_exist_id And I set Headers: Content-Type=${default_header_content_type} When I send a GET request: /stores/NON_EXIST_STORE diff --git a/tests/api/suite/glue/utility_endpoints/stores/positive.robot b/tests/api/suite/glue/utility_endpoints/stores/positive.robot index bdfcda3b3..8a418bbd8 100644 --- a/tests/api/suite/glue/utility_endpoints/stores/positive.robot +++ b/tests/api/suite/glue/utility_endpoints/stores/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** - -ENABLER - API_test_setup Get_all_availiable_stores [Tags] dms-off And I set Headers: Content-Type=${default_header_content_type} diff --git a/tests/api/suite/glue/utility_endpoints/url_resolver/negative.robot b/tests/api/suite/glue/utility_endpoints/url_resolver/negative.robot index 9dc49fc3d..2413d5659 100644 --- a/tests/api/suite/glue/utility_endpoints/url_resolver/negative.robot +++ b/tests/api/suite/glue/utility_endpoints/url_resolver/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_url_collection_by_empty_url When I send a GET request: /url-resolver Then Response status code should be: 422 diff --git a/tests/api/suite/glue/utility_endpoints/url_resolver/positive.robot b/tests/api/suite/glue/utility_endpoints/url_resolver/positive.robot index d02bcddd5..248cbfb0b 100644 --- a/tests/api/suite/glue/utility_endpoints/url_resolver/positive.robot +++ b/tests/api/suite/glue/utility_endpoints/url_resolver/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_url_collections_by_url_paramater_of_category_nodes When I send a GET request: /url-resolver?url=${url_resolver_category_nodes} Then Response status code should be: 200 diff --git a/tests/api/suite/glue/weight_unit_endpoints/product_measurement_units/negative.robot b/tests/api/suite/glue/weight_unit_endpoints/product_measurement_units/negative.robot index ee163762c..e145bee5b 100644 --- a/tests/api/suite/glue/weight_unit_endpoints/product_measurement_units/negative.robot +++ b/tests/api/suite/glue/weight_unit_endpoints/product_measurement_units/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_a_measurement_unit_with_non_existent_unit_id When I send a GET request: /product-measurement-units/fake Then Response status code should be: 404 diff --git a/tests/api/suite/glue/weight_unit_endpoints/product_measurement_units/positive.robot b/tests/api/suite/glue/weight_unit_endpoints/product_measurement_units/positive.robot index e96fc4d09..e8272aeb5 100644 --- a/tests/api/suite/glue/weight_unit_endpoints/product_measurement_units/positive.robot +++ b/tests/api/suite/glue/weight_unit_endpoints/product_measurement_units/positive.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup Get_product_measurement_unit_by_id When I send a GET request: /product-measurement-units/${measurement_unit.m} Then Response status code should be: 200 diff --git a/tests/api/suite/glue/weight_unit_endpoints/sales_units/negative.robot b/tests/api/suite/glue/weight_unit_endpoints/sales_units/negative.robot index e26a486a2..04b4ac9c4 100644 --- a/tests/api/suite/glue/weight_unit_endpoints/sales_units/negative.robot +++ b/tests/api/suite/glue/weight_unit_endpoints/sales_units/negative.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_a_measurement_unit_with_non_existent_sku When I send a GET request: /concrete-products/fake/sales-units Then Response status code should be: 404 diff --git a/tests/api/suite/glue/weight_unit_endpoints/sales_units/positive.robot b/tests/api/suite/glue/weight_unit_endpoints/sales_units/positive.robot index e63b0924b..acacf5322 100644 --- a/tests/api/suite/glue/weight_unit_endpoints/sales_units/positive.robot +++ b/tests/api/suite/glue/weight_unit_endpoints/sales_units/positive.robot @@ -5,9 +5,6 @@ Resource ../../../../../../resources/common/common_api.robot Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Get_sales_units_for_product_without_sales_units When I send a GET request: /concrete-products/${bundle_product.concrete.product_1_sku}/sales-units Then Response status code should be: 200 diff --git a/tests/api/suite/glue/wishlist_endpoints/wishlist_items/negative.robot b/tests/api/suite/glue/wishlist_endpoints/wishlist_items/negative.robot index d7b45f96d..c7674825f 100644 --- a/tests/api/suite/glue/wishlist_endpoints/wishlist_items/negative.robot +++ b/tests/api/suite/glue/wishlist_endpoints/wishlist_items/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Adding_item_in_wishlist_by_invalid_Access_Token [Setup] I set Headers: Authorization=3485h7 When I send a POST request: /wishlists {"data": { "type": "wishlists","attributes": { "name": "${random}"} }} diff --git a/tests/api/suite/glue/wishlist_endpoints/wishlist_items/positive.robot b/tests/api/suite/glue/wishlist_endpoints/wishlist_items/positive.robot index b0590e14e..ca599bab6 100644 --- a/tests/api/suite/glue/wishlist_endpoints/wishlist_items/positive.robot +++ b/tests/api/suite/glue/wishlist_endpoints/wishlist_items/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - Adding_item_in_wishlist [Documentation] CC-16555 API: JSON response is missing product availability and price [Tags] skip-due-to-issue diff --git a/tests/api/suite/glue/wishlist_endpoints/wishlists/negative.robot b/tests/api/suite/glue/wishlist_endpoints/wishlists/negative.robot index 2ccd8a2f6..cde8c071f 100644 --- a/tests/api/suite/glue/wishlist_endpoints/wishlists/negative.robot +++ b/tests/api/suite/glue/wishlist_endpoints/wishlists/negative.robot @@ -5,8 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup #Get_request Getting_wishlist_by_invalid_Access_Token [Setup] I set Headers: Authorization=abc diff --git a/tests/api/suite/glue/wishlist_endpoints/wishlists/positive.robot b/tests/api/suite/glue/wishlist_endpoints/wishlists/positive.robot index 60d0804df..af411eaf2 100644 --- a/tests/api/suite/glue/wishlist_endpoints/wishlists/positive.robot +++ b/tests/api/suite/glue/wishlist_endpoints/wishlists/positive.robot @@ -5,10 +5,6 @@ Test Setup API_test_setup Test Tags glue *** Test Cases *** -ENABLER - API_test_setup - - Create_a_wishlist [Setup] Run Keywords I get access token for the customer: ${yves_user.email} ... AND I set Headers: Authorization=${token} diff --git a/tests/api/suite/sapi/utility_endpoints/stores/negative.robot b/tests/api/suite/sapi/utility_endpoints/stores/negative.robot index a388f07ff..6da845a55 100644 --- a/tests/api/suite/sapi/utility_endpoints/stores/negative.robot +++ b/tests/api/suite/sapi/utility_endpoints/stores/negative.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags sapi *** Test Cases *** -ENABLER - API_test_setup - Get_store_by_non_exist_id And I set Headers: Content-Type=${default_header_content_type} When I send a GET request: /stores/NON_EXIST_STORE diff --git a/tests/api/suite/sapi/utility_endpoints/stores/positive.robot b/tests/api/suite/sapi/utility_endpoints/stores/positive.robot index a7cdd7f3e..ca00fc3d2 100644 --- a/tests/api/suite/sapi/utility_endpoints/stores/positive.robot +++ b/tests/api/suite/sapi/utility_endpoints/stores/positive.robot @@ -5,9 +5,6 @@ Test Setup API_test_setup Test Tags sapi *** Test Cases *** - -ENABLER - API_test_setup Get_all_availiable_stores And I set Headers: Content-Type=${default_header_content_type} When I send a GET request: /stores