refactored code/tests around download tests
This commit is contained in:
parent
6fdb5f4f9f
commit
6cc374865e
5 changed files with 11 additions and 11 deletions
|
@ -4,6 +4,7 @@ const Page = require('./page');
|
|||
class DownloadPage extends Page {
|
||||
constructor(path) {
|
||||
super(path);
|
||||
this.fileId = /download\/(\w+)\/#/.exec(path)[1];
|
||||
this.downloadButton = '#download-btn';
|
||||
this.downloadComplete = '#download-complete';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue