projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '20913-user-profile' refs #20913
[arvados.git]
/
cypress
/
integration
/
process.spec.js
diff --git
a/cypress/integration/process.spec.js
b/cypress/integration/process.spec.js
index b41a443e95a326eb2258edef3df102dc8654c7b4..64f27c50b54cf53e602cd5afdd944b55a2c88f9b 100644
(file)
--- a/
cypress/integration/process.spec.js
+++ b/
cypress/integration/process.spec.js
@@
-431,6
+431,11
@@
describe('Process tests', function() {
['echo', 'hello world'],
false, 'Committed')
.then(function(containerRequest) {
['echo', 'hello world'],
false, 'Committed')
.then(function(containerRequest) {
+ // Create empty log file before loading process page
+ cy.appendLog(adminUser.token, containerRequest.uuid, "stdout.txt", [
+ ""
+ ])
+
cy.loginAs(activeUser);
cy.goToPath(`/processes/${containerRequest.uuid}`);
cy.get('[data-cy=process-details]').should('contain', crName);
cy.loginAs(activeUser);
cy.goToPath(`/processes/${containerRequest.uuid}`);
cy.get('[data-cy=process-details]').should('contain', crName);
@@
-438,6
+443,7
@@
describe('Process tests', function() {
.should('contain', 'No logs yet')
.and('not.contain', 'hello world');
.should('contain', 'No logs yet')
.and('not.contain', 'hello world');
+ // Append a log line
cy.appendLog(adminUser.token, containerRequest.uuid, "stdout.txt", [
"2023-07-18T20:14:48.128642814Z hello world"
]).then(() => {
cy.appendLog(adminUser.token, containerRequest.uuid, "stdout.txt", [
"2023-07-18T20:14:48.128642814Z hello world"
]).then(() => {
@@
-446,6
+452,7
@@
describe('Process tests', function() {
.and('contain', 'hello world');
});
.and('contain', 'hello world');
});
+ // Append new log line to different file
cy.appendLog(adminUser.token, containerRequest.uuid, "stderr.txt", [
"2023-07-18T20:14:49.128642814Z hello new line"
]).then(() => {
cy.appendLog(adminUser.token, containerRequest.uuid, "stderr.txt", [
"2023-07-18T20:14:49.128642814Z hello new line"
]).then(() => {