Search:

Type: Posts; User: daniel.gallo

Page 1 of 14 1 2 3 4

Search: Search took 0.02 seconds.

  1. In one of my previous apps, I've cleared out the...

    In one of my previous apps, I've cleared out the test data before the tests run by using a "beforeAll", just in case the tests fail prematurely or encounter an unhandled exception which prevents the...
  2. How about doing a "beforeAll" that deletes any...

    How about doing a "beforeAll" that deletes any test data in the database at the start of a test run - either calling out directly to the database via a SQL query or executing a procedure in the...
  3. When the refresh button is clicked, does that...

    When the refresh button is clicked, does that load data from the backend again? If so, I'm wondering whether that slight delay in loading data is causing an issue - the row and cell API calls will...
  4. I would suggest using the Sencha Test "text" API...

    I would suggest using the Sencha Test "text" API for verifying the text content of cells:


    ST.grid('mygrid')
    .rowAt(1)
    .cellAt(1)
    .text('Your text');

    If the text in the cell...
  5. I haven't used that particular node module...

    I haven't used that particular node module before, but you may need to structure your "beforeAll" like this - by specifying a "done" parameter in the "beforeAll". This will cause the tests to wait...
  6. What is the error when running the tests? Also,...

    What is the error when running the tests? Also, note that "alert" won't work in your code as a WebDriver scenario runs separately from the browser, so "alert" will be undefined, which would also...
  7. Replies
    4
    Views
    197

    I am also unable to connect to a Jira instance. ...

    I am also unable to connect to a Jira instance. An issue has been opened for this (issue id ORION-2580). We will update this thread once we have a solution.
  8. Replies
    3
    Views
    71

    It's most likely a remote combobox then - where...

    It's most likely a remote combobox then - where data isn't loaded in to the underlying Combobox's data store until the trigger is clicked or you start typing text in the field, at which point data is...
  9. Replies
    3
    Views
    71

    What happens exactly, when you call "expand" -...

    What happens exactly, when you call "expand" - does it not show any drop-down?

    Is it a remotely loaded combobox? What happens if you add a short delay before calling "expand"?
  10. You can use the "timedout" API to assert that the...

    You can use the "timedout" API to assert that the previous method causes a timeout:


    ST.comboBox('locator')
    .expand();

    ST.dataView('boundlist:visible')
    ...
  11. You could try bringing the cell in to view using...

    You could try bringing the cell in to view using the "reveal" method, before working with the elements within the cell.


    stpo.contractMaintenance.searchGridElementsGrid()
    ...
  12. Maybe double-check you're referencing the correct...

    Maybe double-check you're referencing the correct cell in the row - the "cellAt" method accepts an index that is zero-based, so the first cell would be "0".
  13. Try this element locator: ...

    Try this element locator:


    .down('[data-qtip="Delete"]')
  14. Replies
    4
    Views
    197

    Your settings look correct, provided you entered...

    Your settings look correct, provided you entered your email and password correctly.

    Maybe something has changed on the JIRA side - I just tried and can't login via Sencha Test either, when...
  15. Unfortunately there's a bug in Sencha Test 2.3.0...

    Unfortunately there's a bug in Sencha Test 2.3.0 (bug id ORION-2576) that prevents the "click" action from executing against various Ext JS components in a WebDriver scenario.

    For now, I'd...
  16. Try something like this, where you get the item...

    Try something like this, where you get the item from the dataview (drop-down) first, then locate the icon element within that item using the locator "i.fontRedIcon" - element with tag "i" where one...
  17. Are you able to share the contents of your...

    Are you able to share the contents of your "app.json" file? If you don't want to post it here, feel free to email it to me at [email protected] The process that is failing is the code...
  18. Assuming you still have 2.2.1 installed, can you...

    Assuming you still have 2.2.1 installed, can you try creating a new blank project using 2.2.1, then close 2.2.1 and open 2.3. It should open the new blank project after launch - does that also throw...
  19. Rather than relying on the HTML element's text...

    Rather than relying on the HTML element's text contents, I'd try the first example in the code I sent - this lets you find an entry by text value, but it's looking it up from the underlying Ext JS...
  20. Try one of the following examples. You can also...

    Try one of the following examples. You can also interact with the combobox's list using the "ST.dataView" API, which gives you better options for locating entries in the list, and clicking them:

    ...
  21. Do you happen to know what version of Ext JS the...

    Do you happen to know what version of Ext JS the application is running? And what toolkit - Ext JS Classic or Modern?

    Could you also reply with a screenshot of the expanded combobox?
  22. The same is also true for the Inspect tool. ...

    The same is also true for the Inspect tool.

    However, you can temporarily disable highlighting mode with the Inspect tool either by toggling the "Highlighting On" button in the Inspect screen, or...
  23. When launching the Event Recorder, it will...

    When launching the Event Recorder, it will execute any code within the current test/spec only (the current "it" block), up to the line where you placed the cursor within the individual test. After...
  24. Try and also restrict it based on its parent...

    Try and also restrict it based on its parent component, for example:


    formBuilder button[text="Search"]

    That will find a component with the "xtype" of "formBuilder", then locate a button...
  25. The Inspect Wizard...

    The Inspect Wizard in Sencha Test, and the Chrome extension will show whether a component has an "itemId" set. An itemId will not be available unless it has been explicitly set by the developer of...
Results 1 to 25 of 331
Page 1 of 14 1 2 3 4