Commit 115893f 1 parent fb7bb3b commit 115893f Copy full SHA for 115893f
File tree 4 files changed +18
-10
lines changed
docassemble/ALKilnTests/data/sources
4 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ Format:
42
42
### Internal
43
43
-
44
44
-->
45
- <!-- ## [Unreleased] -->
45
+ ## [ Unreleased]
46
+ ### Changed
47
+ - Told the user the interview url. See https://github.com/SuffolkLITLab/ALKiln/issues/696 .
46
48
47
49
## [ 5.2.0] - 2023-09-16
48
50
### Changed
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Scenario: I want to go to a full arbitrary url
41
41
Given the max seconds for each step in this scenario is 5
42
42
And the Scenario report should include:
43
43
"""
44
- Trying to load the interview
44
+ Trying to load the interview at "https://apps-test.suffolklitlab.org/start/demo/questions"
45
45
"""
46
46
Given I start the interview at "https://apps-test.suffolklitlab.org/start/demo/questions"
47
47
Then I should see the phrase "What language do you speak?"
@@ -52,7 +52,7 @@ Scenario: Fail with no interview at arbitrary url
52
52
Given the final Scenario status should be "failed"
53
53
And the Scenario report should include:
54
54
"""
55
- Trying to load the interview
55
+ Trying to load the interview at "https://apps-test.suffolklitlab.org/list"
56
56
"""
57
57
And the Scenario report should include:
58
58
"""
Original file line number Diff line number Diff line change @@ -460,7 +460,14 @@ Scenario: Report still shows page id when I tap to continue without setting any
460
460
Scenario: Report still shows page id when I tap to continue without setting any fields
461
461
Tags: @reports @fast @rp1
462
462
---------------
463
- Trying to load the interview
463
+ Trying to load the interview at "
464
+ """
465
+ Given the Scenario report should include:
466
+ """
467
+ all_tests.yml"
468
+ """
469
+ Given the Scenario report should include:
470
+ """
464
471
screen id: upload-files
465
472
screen id: group-of-complex-fields
466
473
| double_quote_dict['double_quote_key']['dq_two'] | true | |
Original file line number Diff line number Diff line change @@ -732,11 +732,6 @@ module.exports = {
732
732
/* Try to load the page. Should we also pass a `timeout` arg or just
733
733
* use scope.timeout? */
734
734
735
- await scope . addToReport ( scope , {
736
- type : `row` ,
737
- value : `Trying to load the interview`
738
- } ) ;
739
-
740
735
let interview_url = null ;
741
736
// If the file is already a full url, just use that arbitrary url
742
737
if ( / ^ h t t p / . test ( file_name ) ) {
@@ -752,7 +747,11 @@ module.exports = {
752
747
let base_url = await get_base_interview_url ( ) ;
753
748
interview_url = `${ base_url } ${ file_name } ` ;
754
749
}
755
- if ( session_vars . get_debug ( ) ) { console . log ( `interview_url:` , interview_url ) ; }
750
+
751
+ await scope . addToReport ( scope , {
752
+ type : `row` ,
753
+ value : `Trying to load the interview at "${ interview_url } "`
754
+ } ) ;
756
755
757
756
if ( ! scope . page ) { scope . page = await scope . browser . newPage ( ) ; }
758
757
You can’t perform that action at this time.
0 commit comments