Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ACS-8153] delete protractor e2e configuration and files #3885

Merged
merged 7 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/actions/adf-linking/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ runs:
if [[ $COMMIT_MESSAGE == *"[link-adf:"* ]]; then
echo "BUILD_OPTS=--configuration=adf,e2e" >> $GITHUB_ENV
echo "TEST_OPTS=--configuration=adfprod" >> $GITHUB_ENV
echo "E2E_PROTRACTOR_OPTS=--with-local-adf" >> $GITHUB_ENV
echo "E2E_TSCONFIG=tsconfig.e2e.adf.json" >> $GITHUB_ENV

BRANCH=`echo $COMMIT_MESSAGE | grep -o "\[link-adf\:[^]]*\]" | sed -e 's#\[link-adf:##g' | sed -e 's#\]##g'`
Expand Down
21 changes: 0 additions & 21 deletions .github/actions/before-e2e/action.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
name: "Before e2e"
description: "Before e2e"

inputs:
e2e-protractor:
description: 'is e2e run with protractor'
required: false
type: boolean
default: false

runs:
using: "composite"
steps:
- name: Check content UP
shell: bash
run: ./node_modules/@alfresco/adf-cli/bin/adf-cli check-cs-env --host $BASE_URL -u $ADMIN_EMAIL -p $ADMIN_PASSWORD || exit 1

- name: Install google chrome v114
shell: bash
run: |
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
sudo ln -s /usr/bin/google-chrome /usr/bin/chrome
chrome --version

- name: Update webdriver-manager
if: ${{ inputs.e2e-protractor == 'true' }}
shell: bash
run: |
npm run update-webdriver
43 changes: 0 additions & 43 deletions .github/actions/run-e2e/action.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ runs:
run: |
echo "BUILD_OPTS=--configuration=production,e2e" >> $GITHUB_ENV
echo "TEST_OPTS=" >> $GITHUB_ENV
echo "E2E_PROTRACTOR_OPTS=" >> $GITHUB_ENV
echo "E2E_TSCONFIG=tsconfig.e2e.json" >> $GITHUB_ENV
echo "GIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV
echo "SMART_RUNNER_DIRECTORY=.protractor-smartrunner" >> $GITHUB_ENV
echo "BASE_HASH=.protractor-smartrunner" >> $GITHUB_ENV
echo "HEAD_HASH=HEAD" >> $GITHUB_ENV

- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected]
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ jobs:

- name: Before e2e
uses: ./.github/actions/before-e2e
with:
e2e-protractor: false

- name: before playwright
shell: bash
Expand Down
26 changes: 0 additions & 26 deletions e2e/protractor/.eslintrc.json

This file was deleted.

10 changes: 0 additions & 10 deletions e2e/protractor/e2e-config/utils/build-number.js

This file was deleted.

69 changes: 0 additions & 69 deletions e2e/protractor/e2e-config/utils/upload-output.js

This file was deleted.

23 changes: 0 additions & 23 deletions e2e/protractor/project.json

This file was deleted.

44 changes: 0 additions & 44 deletions e2e/protractor/protractor.excludes.json

This file was deleted.

Binary file removed e2e/protractor/resources/test-files/file-docx.docx
Binary file not shown.
Binary file removed e2e/protractor/resources/test-files/file-jpg.jpg
Binary file not shown.
Binary file removed e2e/protractor/resources/test-files/file-pdf.pdf
Binary file not shown.
Binary file removed e2e/protractor/resources/test-files/file-xlsx.xlsx
Binary file not shown.
Binary file removed e2e/protractor/resources/test-files/file2-docx.docx
Binary file not shown.
Binary file removed e2e/protractor/resources/test-files/file2-xlsx.xlsx
Binary file not shown.
1 change: 0 additions & 1 deletion e2e/protractor/resources/test-files/file_unsupported.3DS

This file was deleted.

Binary file removed e2e/protractor/resources/test-files/protected.pdf
Binary file not shown.
14 changes: 0 additions & 14 deletions e2e/protractor/smartrunner-factory.js

This file was deleted.

98 changes: 0 additions & 98 deletions e2e/protractor/suites/actions/upload-download/upload-file.test.ts

This file was deleted.

Loading
Loading