Search:

Type: Posts; User: freightgateone

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Thank you so much! A small addition to your...

    Thank you so much!

    A small addition to your solution:
    module.id gets the file location using '\' instead of '/' so the subtstring method has to be altered the following:



    describe('File...
  2. relative paths do not work in ST?

    I have written a short test that fetches login credentials from a local file using the fs-module and logs in.



    describe("loginAndNavigate", function() {
    const fs = require('fs');

    //...
  3. Replies
    1
    Views
    36

    done causes test to fail

    I have written a short test that fetches login credentials from a local file, logs in and simply accesses a page element.



    describe("loginAndNavigate", function() {
    const fs =...
  4. Command-line arguments for test cases?

    Hello,
    I was wondering if it is possible to run test cases with command-line arguments respective to JAVA applications and their String[ ] args parameter...
  5. That's a great idea, I'll definitely try using...

    That's a great idea, I'll definitely try using direct DB queries.

    But it would still be more elegant to remove these entries after a test has run, right?

    Is there sth. comparable to a...
  6. Prevent duplicate entries in test runs

    In order to test some functionalities of a grid we have on our website I am currently creating new entries for each test run that I can then alter and act on in my test suites.

    After the tests...
  7. I'll answer that myself: the...

    I'll answer that myself:

    the .expect('innerText').toBe('string'); behaves the same as the text()-Method, even checks for the actual (not only displayed) value.
    Its toBe() can be preponed with...
  8. Another thing: Checking if a cells value does...

    Another thing:
    Checking if a cells value does not equal a specified string can be achieved via the textNotLike-API but if the test then fails the error output is difficult to read as ST is unable to...
  9. Yes that is exactly whats happening. I was just...

    Yes that is exactly whats happening. I was just dreading to use the wait-statements because they will heavily increase the runtime of these tests in the long term, right?
    Apart from that, the...
  10. But actually the main problem is, that after...

    But actually the main problem is, that after refreshing the grid I can see that the cell's value is updated to 'newValue' but the .text('newValue') fails and text('oldValue') completes.



    ...
  11. Problem is with the .text() API is that grid...

    Problem is with the .text() API is that grid cells, which abbreviate its content using '...' because it's to long, won't be asserted properly by this method.
  12. .expect('innerText').toBe(); has issues with updated values?

    I am testing the update functionality of a grid we have on our website.

    Via a seperate edit panel changes can be made in order to alter the grid's entries.

    After I save made changes, the grid...
  13. Okay, alert() does in fact display the small...

    Okay, alert() does in fact display the small window as usual but that is not the problem.
    Using the debugger also shows me that I correctly fetched the credentials from the database.

    The thing is...
  14. Acessing page elements inside a .then() method

    So I am trying to fetch login credentials from a local database as an example to test the node-mysql module with sencha test.

    In the beforeAll()-Block I establish a connection, fetch the...
  15. Replies
    3
    Views
    131

    After executing the .expand()-Method the combobox...

    After executing the .expand()-Method the combobox switches from its regular, 'unselected' state 58103

    To a selected one 58104 as if you clicked on it in order to type text in there.

    Adding...
  16. Replies
    4
    Views
    295

    Are there any updates on this? I've tried to...

    Are there any updates on this?

    I've tried to connect using our own server-hosted JIRA (version 4.2.4) but that does not seem to work either..
  17. Implementing a kanban-like drag-and-drop functionality

    Hello there,

    I am looking for sencha-native possiblities to implement a drag-and-drop feature like you have in most kanban boards.
    I am trying to implement it myself using only the tools Sencha...
  18. Replies
    3
    Views
    131

    Expanding a combobox

    Hello there.
    I am seriously questioning my sanity right now.
    I have expanded the dropdown list of a combobox before but this time I can not get my head around why this does not work.
    See the...
  19. Replies
    3
    Views
    258

    Oh yeah you're probably right. I was just so...

    Oh yeah you're probably right. I was just so frustrated with everything at the moment as the learning curve with ExtJS is quite steep tbh, sorry for that.
    Thank you for answering anyways, I'll...
  20. Checking if a combobox does not contain a specific value

    So getting an item of a combobox is not a problem so far, for example with this piece of code



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

    // Interact with the combobox's boundlist...
  21. Yep, that works aswell, Thanks!

    Yep, that works aswell, Thanks!
  22. Replies
    3
    Views
    258

    Good Tutorial for Beginners

    Hi,
    I am trying to learn Ext JS and how the whole structure of how this framework works but for two days now I am not able to find any useful information.
    The Sencha Docs themselves are good if you...
  23. I think I figured it out, the locator was not the...

    I think I figured it out, the locator was not the problem. In fact, every one of the ones mentioned above works.
    I noticed that my browser (when it's size is set to only half the size of my screen)...
  24. Hmm, neither .down('[data-qtip="Delete"]')...

    Hmm, neither



    .down('[data-qtip="Delete"]')


    nor
  25. Accessing HTML elements inside a grid cell

    So I've got a grid cell that contains 3 small icons which when clicked perform specific operations.

    I am able to locate the grid cell via the regular ST.grid API but can not get the condition...
Results 1 to 25 of 51
Page 1 of 3 1 2 3