mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 07:00:54 +03:00
refactored code/tests around download tests
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user