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

Dev-Anleitung #1209

Merged
merged 58 commits into from
Sep 25, 2023
Merged
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
6f6cdb3
Initial version of wp-env file
datengraben Mar 2, 2023
1fb7707
added instructions for translation updates
hansmorb Apr 15, 2023
b88b553
Update Readme.md
datengraben Apr 16, 2023
1490013
Update Readme.md
datengraben Apr 16, 2023
9264bdf
Update Readme.md
hansmorb Apr 17, 2023
0356624
Add link to readme
datengraben May 10, 2023
a2d53a1
Adds useful plugins
datengraben May 14, 2023
5849d12
Merge branch 'master' into ft-wp-env
hansmorb May 14, 2023
1370b0e
updated composer packages
hansmorb May 14, 2023
919bb17
Merge branch 'master' into ft-wp-env
hansmorb May 14, 2023
42d8fd4
Mail logging plugin für convenience
datengraben Jun 21, 2023
eadb938
Merge branch 'master' into ft-wp-env
hansmorb Aug 28, 2023
143592b
fixed up README after merge
hansmorb Aug 28, 2023
021e28f
update composer packages after merge
hansmorb Aug 28, 2023
7033a1f
added experimental cypress support
hansmorb Aug 30, 2023
34aaba0
switch back ubuntu version
hansmorb Aug 31, 2023
2a1402f
tried adding compass
hansmorb Aug 31, 2023
00a179b
removed Cypress install
hansmorb Aug 31, 2023
9f0732b
removed video recording
hansmorb Aug 31, 2023
7ed9d2a
add error on purpose to see if tests will fail
hansmorb Aug 31, 2023
42baf06
fixed unit test to properly check if dashboard is present
hansmorb Aug 31, 2023
1c0b1fd
Revert "add error on purpose to see if tests will fail"
hansmorb Aug 31, 2023
4b08aca
upped WP version
hansmorb Aug 31, 2023
e209450
added tests to load every page
hansmorb Aug 31, 2023
4b0adc6
upped WP version
hansmorb Aug 31, 2023
91bdf2d
Add node 20.5.1 nvmrc
datengraben Sep 3, 2023
c497b2e
Use nvmrc in cypress path
datengraben Sep 3, 2023
ec6cce0
Use latest action and node 20
datengraben Sep 3, 2023
e2f00d3
Add bash script to build release
datengraben Apr 16, 2023
a527eae
Place nvmrc in root
datengraben Sep 3, 2023
46b7734
Revert "Add bash script to build release"
datengraben Sep 3, 2023
5d7163c
Takes screenshot of each page on success
datengraben Sep 3, 2023
5bcfddb
added cypress screenshot upload
hansmorb Sep 4, 2023
24c9cba
Merge pull request #1 from wielebenwir/experiment/cypress
datengraben Sep 4, 2023
528b4ac
Merge branch 'wielebenwir:master' into ft-wp-env
datengraben Sep 4, 2023
a58f265
added e2e testing instructions
hansmorb Sep 5, 2023
53c15d9
fixed typos & coherency
hansmorb Sep 5, 2023
6d01638
fixed jQuery not enqueued for map shortcodes
hansmorb Sep 11, 2023
df2feff
catch fatal error when import Locations from .xml export
hansmorb Sep 11, 2023
2b1e345
added test data & basic shortcode tests
hansmorb Sep 11, 2023
e04bc03
add rudimentary test for map shortcode
hansmorb Sep 11, 2023
5d4794b
added tests for booking process
hansmorb Sep 11, 2023
2e0aeae
fix load-wp tests & spread them out
hansmorb Sep 11, 2023
b31557c
Merge branch 'master' into ft-wp-env
hansmorb Sep 11, 2023
0c93dc1
updated cypress
hansmorb Sep 11, 2023
4fa6171
fix plugin activation sometimes not working
hansmorb Sep 11, 2023
5d98e90
Revert "fix plugin activation sometimes not working"
hansmorb Sep 11, 2023
19ebc3c
fixed broken behaviour when plugin was activated through cli
hansmorb Sep 11, 2023
1e2e256
added wait for map shortcode
hansmorb Sep 11, 2023
ea574d4
added badge for E2E tests
hansmorb Sep 11, 2023
74f49dc
added test for location & item frontend templates
hansmorb Sep 12, 2023
b81b0b2
added screenshots to gitignore
hansmorb Sep 12, 2023
9dd9f4f
Update Readme.md
hansmorb Sep 19, 2023
1570399
added start script (basically installation)
hansmorb Sep 19, 2023
1abdab2
added setup step to README.md
hansmorb Sep 19, 2023
c18a293
organized tests folders
hansmorb Sep 19, 2023
cae4f4b
Update Readme.md
hansmorb Sep 19, 2023
d574d95
Merge branch 'master' into ft-wp-env
hansmorb Sep 25, 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
9 changes: 9 additions & 0 deletions cypress/e2e/load-shortcodes.cy.js
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hansmorb was meinst du mit "without creating a new instance"? Es läuft doch eine, wenn der Cypress Test ausgeführt wird.

Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,13 @@ describe('load shortcodes', () => {
cy.get('.cb-shortcode-items_table').find('tbody > tr > :nth-child(1)').find('b > a').click()
cy.url().should('include', '/?cb_item=basictest-noadmin&cb-location=32')
} )

it ('can load cb_map shortcode', () => {
cy.visit('/?page_id=22')
const mapID = 'cb-map-36'
cy.get('#' + mapID).should('be.visible')
// Unfortunately I couldn't find a way to test the map itself without creating a new instance (which would not check if the data is correct)
//That's why there is only the screenshot test
cy.screenshot('cb-map-shortcode')
} )
})