Currently tests are broken because no way to properly generate CSRF token from web tests. The related issue is #1555862: DrupalWebTestCase::drupalGetToken() does not add hash salt
Suppose that's because to way to get CSRF seed from user session of logged in user...
Also we need to add tests for
- unit test coverage for service, access checks, form and block
- web tests for exposed UI elements: user extra field, block autocomplete, menu links
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | test-16.patch | 5.08 KB | andypost |
| #16 | interdiff.txt | 252 bytes | andypost |
Comments
Comment #1
andypostComment #3
andypostTests are fixed and extended for role permissions
Waiting for branch test to publish alpha release
Comment #5
andypostreopening for https://www.drupal.org/pift-ci-job/216444
Comment #6
andypostLooks tests running against 8.2.x but manual testing shows that all works
Comment #7
andypostCalled retest, still passed locally
Comment #8
andypostClean-up of codestyle, somehow bots can't find route to unmasquerade
Comment #9
andypostso the same 5 failures, but access test actually passing
Comment #10
andypostCommited the patch above, looks only first test fails and access test is just killed by JS testing https://dispatcher.drupalci.org/job/default/156489/console
Comment #11
andypostLooks tests are broken after
http://cgit.drupalcode.org/masquerade/commit/?id=141979d
http://cgit.drupalcode.org/masquerade/commit/?id=abc1f30
Comment #12
andypostlocally tests pass
Comment #13
andypostComment #14
andypostComment #15
andypostComment #16
andypostComment #24
andypostNew issue #2923960: Convert Simpletest tests to BrowserTestBase
Patch from this one should be moved to new one - convert array syntax
Comment #25
andypostThe remaining test failures will be fixed in #2951196: Permission Denied when trying to masquerade when site in subdir