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

[WIP] Ptitloup/add selenium test #955

Draft
wants to merge 58 commits into
base: develop
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
b7f0719
add selenium test in pod main app, add selenium, geckodriver and fire…
ptitloup Sep 20, 2023
3ecb4e1
rename selenium integration test to not run it with other tests
ptitloup Sep 20, 2023
7083b9e
add integration test in pod workflow action
ptitloup Sep 21, 2023
676f2cf
try : add comment if accessibilty is ok
ptitloup Sep 21, 2023
3631e52
try : echo pa11y
ptitloup Sep 21, 2023
05ef9e2
try : pa11y no error
ptitloup Sep 21, 2023
192fd56
try : add permissions
ptitloup Sep 21, 2023
ac6877a
try : test comment
ptitloup Sep 21, 2023
f08759c
classic usage of actions comment
ptitloup Sep 21, 2023
cdd5afe
classic usage of actions comment - add permissions
ptitloup Sep 21, 2023
d9d9407
classic usage of actions comment - add GITHUB TOKEN
ptitloup Sep 21, 2023
635cf3b
add permissions and test issues
ptitloup Sep 21, 2023
1872b38
change order
ptitloup Sep 21, 2023
4ad22b3
try curl
ptitloup Sep 21, 2023
6a3c128
try script
ptitloup Sep 21, 2023
b8a6506
try script with issue
ptitloup Sep 21, 2023
1f89280
try script with issue and read permissions
ptitloup Sep 21, 2023
822516e
try another use curl
ptitloup Sep 21, 2023
101f4de
try another use curl 2
ptitloup Sep 21, 2023
2576eb5
pull request target
ptitloup Sep 21, 2023
b794c66
pull request target 2
ptitloup Sep 21, 2023
13edd02
pull request target add type and branche
ptitloup Sep 21, 2023
32d88c2
pull request target remove type
ptitloup Sep 21, 2023
4655644
pull request target star
ptitloup Sep 21, 2023
780a19a
pull request target another try
ptitloup Sep 21, 2023
bcbd751
test pull-request-target-branch-action
ptitloup Sep 21, 2023
4c07fd6
test all types
ptitloup Sep 21, 2023
36f00d7
remove pull_request_targat
ptitloup Sep 21, 2023
ee39dd3
little test
ptitloup Sep 22, 2023
7feb000
add integration test in pod workflow - remove add comment
ptitloup Sep 22, 2023
1750786
add python 3.8 and 3.10 in matrix test
ptitloup Sep 22, 2023
ed79b40
add directory to store side selenium. rename test selenium suite and …
ptitloup Sep 25, 2023
5e47555
Implement selenium integration tests
AymericJak Oct 4, 2023
f86d25c
Fix conflicts
AymericJak Oct 4, 2023
826f14b
Add USE_DEBUG_TOOLBAR parameter
AymericJak Oct 5, 2023
aadaca6
Add automatic compilation when merging
AymericJak Oct 5, 2023
5eb3861
Add custom commands
AymericJak Oct 6, 2023
0dc7a7c
Simplify function run()
AymericJak Oct 6, 2023
d110424
Add initial datas
AymericJak Oct 6, 2023
23389a5
Add documentation
AymericJak Oct 6, 2023
81a134e
Improve code
AymericJak Oct 6, 2023
5aff4ed
Styling & Linting
AymericJak Oct 6, 2023
db414c3
Fix conflicts and change import path of override_settings
AymericJak Oct 10, 2023
fc58774
Rework SeleniumTestCase and it's execution
AymericJak Oct 12, 2023
87aadde
Test tearDownClass
AymericJak Oct 12, 2023
65487d5
Change suite_url
AymericJak Oct 12, 2023
ff0a6a3
Add connexion test and improve code
AymericJak Oct 12, 2023
441e9b3
Add order for tests
AymericJak Oct 13, 2023
209520e
update branch
ptitloup Oct 25, 2023
c9d1f05
Fix conflicts
AymericJak Nov 2, 2023
7d889d9
Add pause function
AymericJak Nov 2, 2023
d4b1311
Improve gitignore
AymericJak Nov 2, 2023
13e83ea
Merge branch 'ptitloup/add_selenium_test' of https://github.com/ptitl…
ptitloup Nov 7, 2023
8cdddd5
fix click and clear for simulate typing text function
ptitloup Nov 7, 2023
f8c8bb5
Merge branch 'develop' of https://github.com/EsupPortail/Esup-Pod int…
ptitloup Nov 7, 2023
a8c4494
add side for subtitles and fix load web vtt from old caption
ptitloup Nov 7, 2023
3f57994
workon selenium side - add simple side and staff side.
ptitloup Nov 9, 2023
8a14fef
workon selenium python test instead of side selenium files
ptitloup Nov 17, 2023
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
14 changes: 14 additions & 0 deletions .github/workflows/code_formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,17 @@ jobs:
run: |
git commit -am "Auto-update configuration files"
git push

# Compile lang files
- name: Compile lang files in fr and nl
run: python manage.py compilemessages -l fr -l nl
AymericJak marked this conversation as resolved.
Show resolved Hide resolved

- name: Check for modified files
id: compilation-git-check
AymericJak marked this conversation as resolved.
Show resolved Hide resolved
run: echo modified=$(if git diff --quiet; then echo "false"; else echo "true"; fi) >> $GITHUB_OUTPUT

- name: Push lang compilation changes
if: steps.compilation-git-check.outputs.modified == 'true'
run: |
git commit -am "Compile lang files"
git push
Loading