Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ qx.Class.define("osparc.desktop.account.MyAccountWindow", {
construct: function() {
this.base(arguments, "credits", this.tr("My Account"));

const width = 990;
const width = 850;
const height = 700;
const maxHeight = 700;
this.set({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ qx.Class.define("osparc.desktop.preferences.pages.TagsPage", {
const intro = osparc.ui.window.TabbedView.createHelpLabel(msg);
this._add(intro);

this._add(new qx.ui.core.Spacer(null, 10));

this.__renderLayout();
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,11 @@ qx.Class.define("osparc.file.TreeFolderView", {
pollTasks.createPollingTask(fetchPromise)
.then(task => {
task.addListener("resultReceived", e => {
const size = e.getData();
const data = e.getData();
const size = (data && "result" in data) ? osparc.utils.Utils.bytesToSize(data["result"]) : "-";
totalSize.set({
icon: null,
label: this.tr("Total size: ") + osparc.utils.Utils.bytesToSize(size),
label: this.tr("Total size: ") + size,
});
});
task.addListener("pollingError", e => totalSize.hide());
Expand Down
6 changes: 6 additions & 0 deletions tests/e2e-playwright/tests/sleepers/test_sleepers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
SocketIOEvent,
retrieve_project_state_from_decoded_message,
wait_for_pipeline_state,
wait_for_label_text,
)
from tenacity import retry, retry_if_exception_type, stop_after_delay, wait_fixed

Expand Down Expand Up @@ -226,4 +227,9 @@ def test_sleepers(
)
ctx.logger.info(msg)
assert output_file_names_found == sleeper_expected_output_files

# now check if the "Total size:"" widget shows something
label = wait_for_label_text(page, "totalSizeLabel", "Total size:", 20000)
ctx.logger.info(f"1st node size: {label.inner_text()}")

page.get_by_test_id("nodeDataManagerCloseBtn").click()
Loading