feat: put the placement in one line above the questionnaire
This commit is contained in:
1 parent
a0170f5952
commit
af97468b2d
6 files changed
+96
-93
No files matched your search
@@ -75,6 +75,9 @@ class EditControllerTest extends WebTestCase
|
||||
$crawler = $this->open($this->placement(busEscort: true));
|
||||
|
||||
$this->assertResponseIsSuccessful();
|
||||
// the placement in one line above the form
|
||||
$this->assertStringContainsString('Reiseleitung', $crawler->filter('h1 + p')->text());
|
||||
$this->assertStringContainsString('Busbegleitung ab Stuttgart', $crawler->filter('h1 + p')->text());
|
||||
$this->assertCount(1, $crawler->filter('[data-question-key="teamer_feedback.office_briefing_rating"]'));
|
||||
$this->assertCount(1, $crawler->filter('[data-question-key="bus_feedback.bus_company"]'));
|
||||
}
|
||||
@@ -121,7 +124,7 @@ class EditControllerTest extends WebTestCase
|
||||
|
||||
// the read-only view shows both, and the form is closed
|
||||
$crawler = $this->client->followRedirect();
|
||||
$this->assertStringContainsString('Reiseleiter/-in Feedback', $crawler->text());
|
||||
$this->assertStringContainsString('Wochenteamer:innen-Feedback', $crawler->text());
|
||||
$this->assertStringContainsString('Bus-Feedback', $crawler->text());
|
||||
$this->open($disposition);
|
||||
$this->assertResponseRedirects(sprintf('/teamer/questionnaire/%s/detail', $disposition->getUuid()));
|
||||
|
||||
Reference in new issue
Block a user