Merge branch 'master' of github.com:DEgITx/rats-search
This commit is contained in:
commit
fae870cd97
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@ -0,0 +1,19 @@
|
||||
FROM node:14
|
||||
|
||||
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
|
||||
|
||||
WORKDIR /home/node/app
|
||||
|
||||
COPY --chown=node:node . .
|
||||
|
||||
USER node
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN ls -la
|
||||
|
||||
RUN npm run buildweb
|
||||
|
||||
EXPOSE 8095
|
||||
|
||||
CMD [ "node", "src/background/server.js" ]
|
@ -44,7 +44,7 @@ describe("download", function() {
|
||||
let progress = parseInt(await (await app.client.$('.torrentRow .progressDownloading')).getText());
|
||||
console.log('download progress', progress, '%');
|
||||
// cancel in progress button must be exists
|
||||
if (progress < 50) {
|
||||
if (progress < 25) {
|
||||
console.log('testing buttons')
|
||||
assert(await (await app.client.$('.torrentRow .deleteDownloadBeforeFinish')).isExisting());
|
||||
assert(await (await app.client.$('.torrentRow .pauseTorrent')).isExisting());
|
||||
|
Loading…
Reference in New Issue
Block a user