Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a test for sharing an activity between spaces #207

Open
wants to merge 5 commits into
base: develop-exo
Choose a base branch
from

Conversation

ahamdi
Copy link
Member

@ahamdi ahamdi commented Oct 26, 2023

No description provided.

@ahamdi ahamdi requested a review from rdenarie October 26, 2023 12:14
@ahamdi
Copy link
Member Author

ahamdi commented Oct 26, 2023

This PR won't work until Meeds-io/social#3097 is merged

public void selectSpaceInShareActivityDrawer(String space) {
shareActivityDrawerElement().assertVisible();
findByXPathOrCSS("#activityShareDrawer .activitySpaceSuggester").click();
TextBoxElementFacade spaceSuggesterInput = findTextBoxByXPathOrCSS("(//div[@id='selectDestinationSpaceToShare']//input)[1]");
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
TextBoxElementFacade spaceSuggesterInput = findTextBoxByXPathOrCSS("(//div[@id='selectDestinationSpaceToShare']//input)[1]");
TextBoxElementFacade spaceSuggesterInput = findTextBoxByXPathOrCSS("//div[contains(@class,'activitySpaceSuggester')]//input[@type!='hidden']");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants