Skip to content

test: implement second space selection - #1272

Open
Bardan2 wants to merge 1 commit into
opencloud-eu:mainfrom
Bardan2:test/add-second-space
Open

Bardan2 wants to merge 1 commit into
opencloud-eu:mainfrom
Bardan2:test/add-second-space

Conversation

@Bardan2

@Bardan2 Bardan2 commented Nov 23, 2026

Copy link
Copy Markdown

Changes:

  • Added functionality to select the second space
  • Added an action to open the Add Space interface
  • Implemented the second space synchronization workflow

Testing:

  • Verified the space selection workflow.
  • Executed the relevant E2E tests.

And the user again syncs the "Shares" space
Then the folder "simple-folder" should exist on the file system


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need this extra line

| password | 1234 |
When the user selects manual sync folder option in advanced section
And the user syncs the "Personal" space
And the user again syncs the "Shares" space

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
And the user again syncs the "Shares" space
When the user syncs the another space "Shares"

raise AssertionError("Failed to select the space: " + space_name)

@staticmethod
def open_add_space():

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def open_add_space():
def open_add_space_wizard():

Comment on lines +140 to +145
@staticmethod
def sync_second_space(space_name): # space-name = Shares
SyncConnectionWizard.select_space(space_name)
SyncConnectionWizard.next_step()
SyncConnectionWizard.add_sync_connection()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use existing sync_space method. And for SyncConnectionWizard.set_sync_path(get_current_user_sync_path()) do the same as done in the user again syncs... step.

Suggested change
@staticmethod
def sync_second_space(space_name): # space-name = Shares
SyncConnectionWizard.select_space(space_name)
SyncConnectionWizard.next_step()
SyncConnectionWizard.add_sync_connection()

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants