Commit b2e0166c authored by Johan Vervloet's avatar Johan Vervloet

Test table configuration permissions, and update changelog.

Closes #127
parent 10d2e85b
Pipeline #120987364 failed with stages
in 5 minutes and 49 seconds
# Changelog
## Unreleased
### Added
- Configure number of tricks required for playing alone, #127.
## [0.3.1] - 2020-02-22
### Changed
......
<?php
declare(strict_types=1);
namespace App\Tests\acceptance;
use App\TestData\TestDataBuilders\TestIds;
use App\Tests\AcceptanceTester;
final class TableConfigurationCest
{
public function checkCanConfigureTableBeforeLoggingFirstGame(AcceptanceTester $i): void
{
// This is a table with no game logged yet.
$i->amOnPage('/en/table/'.TestIds::TEST_TABLE_15);
$i->waitForText('Configure game rules');
$i->see('Configure game rules');
}
public function checkCantReconfigureTableAfterLoggingFirstGame(AcceptanceTester $i): void
{
// On this table, prop & cop was logged.
$i->amOnPage('/en/table/'.TestIds::TEST_TABLE_13);
$i->waitForText('prop & cop');
$i->dontSee('Configure game rules');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment