Skip to content

Add cross-request RW demos Behat testing#2031

Merged
mvorisek merged 9 commits intodevelopfrom
rw_behat_testing
Apr 29, 2023
Merged

Add cross-request RW demos Behat testing#2031
mvorisek merged 9 commits intodevelopfrom
rw_behat_testing

Conversation

@mvorisek
Copy link
Copy Markdown
Member

Currently all changes are tested to be made and returned within the same DB transaction which is great to enforce the atk4/ui to made as less server requests possible and always work with fresh data for each Behat scenario, but this imply we cannot test advanced features - like CardDeck or more than one change per test scenario.

@mvorisek mvorisek changed the title Add cross-request RW demos testing Add cross-request RW demos Behat testing Apr 28, 2023
{
static $rw = null;
if ($rw === null) {
$rw = file_exists(__DIR__ . '/db-behat-rw.txt');
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Pro tip: to test cross-request RW demos localy, create empty file manually

@mvorisek mvorisek marked this pull request as ready for review April 28, 2023 22:56
@mvorisek mvorisek merged commit f45337e into develop Apr 29, 2023
@mvorisek mvorisek deleted the rw_behat_testing branch April 29, 2023 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant