Using ScriptRunner in for Confluence 8.0.2 Data Center.
I finally found the class to disable Autocomplete for a user in their user settings, at least I'm pretty sure that's what it's for.
com.atlassian.confluence.pageobjects.page.user.EditUserEditorSettingsPage
And, of course, it's deprecated. :(
It says:
Use
EditUserEditorSettingsPage
instead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.
Of course, "the new README" goes to a link I can't access. I'm guessing internal Atlassian or just broken link.
Nothing under com.atlassian.confluence.webdriver.pageobjects looks remotely usable unless I'm looking in the wrong place.
Anyone have any ideas how to disable Autocomplete for a user now?
Although I had to dig deep for this one, I think this is the new class:
com.atlassian.confluence.webdriver.pageobjects.page.user.EditUserEditorSettingsPage
It is not deprecated and neither is its disableAutoComplete() method, but it also has not apparent way to associate the method with a specific user.
And it's not recognized by ScriptRunner. <sigh>
I'm working on a critical feature that can't stop working once the other class is deleted, whenever that may be. Using the old class is not really an option for me.
And neither the deprecated nor the new class is recognized by ScriptRunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @WW
Can you try this in your ScriptRunner :
import com.atlassian.confluence.pageobjects.page.user.EditUserEditorSettingsPage
def userKey = "userKey"
def editUserEditorSettingsPage = EditUserEditorSettingsPage.to(userKey)
editUserEditorSettingsPage.disableAutocomplete()
Dont forget to replace the "userKey"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Oday Rafeh ,
I understand how to use EditUserEditorSettingsPage, which is deprecated.
What I was asking was how to use the replacement code, which is here: com.atlassian.confluence.webdriver.pageobjects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.