File tree Expand file tree Collapse file tree 1 file changed +1
-32
lines changed
src/Test/Functional/Acceptance Expand file tree Collapse file tree 1 file changed +1
-32
lines changed Original file line number Diff line number Diff line change 1010/**
1111 * @group php82
1212 */
13- class AcceptanceCest extends AbstractCest
13+ class Acceptance82Cest extends AcceptanceCest
1414{
15- /**
16- * @param \CliTester $I
17- */
18- public function _before (\CliTester $ I ): void
19- {
20- parent ::_before ($ I );
21- }
22-
23- /**
24- * @param \CliTester $I
25- * @param \Codeception\Example $data
26- * @throws \Robo\Exception\TaskException
27- * @dataProvider patchesDataProvider
28- */
29- public function testPatches (\CliTester $ I , \Codeception \Example $ data ): void
30- {
31- $ this ->prepareTemplate ($ I , $ data ['templateVersion ' ], $ data ['magentoVersion ' ] ?? null );
32- $ I ->copyFileToWorkDir ('files/patches/.apply_quality_patches.env.yaml ' , '.magento.env.yaml ' );
33- $ I ->generateDockerCompose (sprintf (
34- '--mode=production --env-vars="%s" ' ,
35- $ this ->convertEnvFromArrayToJson (['MAGENTO_CLOUD_PROJECT ' => 'travis-testing ' ])
36- ));
37- $ I ->assertTrue ($ I ->runDockerComposeCommand ('run build cloud-build ' ));
38- $ I ->assertTrue ($ I ->startEnvironment ());
39- $ I ->assertTrue ($ I ->runDockerComposeCommand ('run deploy cloud-deploy ' ));
40- $ I ->assertTrue ($ I ->runDockerComposeCommand ('run deploy cloud-post-deploy ' ));
41- $ I ->amOnPage ('/ ' );
42- $ I ->see ('Home page ' );
43- $ I ->see ('CMS homepage content goes here. ' );
44- }
45-
4615 /**
4716 * @return array
4817 */
You can’t perform that action at this time.
0 commit comments