From: | Yosry Muhammad <yosrym93(at)gmail(dot)com> |
---|---|
To: | Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>, pgadmin-hackers(at)postgresql(dot)org, Dave Page <dpage(at)pgadmin(dot)org> |
Subject: | Re: [GSoC] Help with Jasmine Tests |
Date: | 2019-07-01 14:36:43 |
Message-ID: | CAFSMqn8t+JyWKKS7fr+RTMTP78i=6kShGNgM0AnvO6v=hvcqDg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On Mon, Jul 1, 2019 at 8:57 AM Aditya Toshniwal <
aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:
>
> I am trying to write a test for the sqleditor that checks that if
>> _render() function (in sqleditor.js) is called with w query results that
>> include primary keys, then the grid should be editable (I need to check
>> grid options, gridView.grid.getOptions() ).
>>
>> I also want to check that if the user edits a cell in the grid, the Save
>> Data button (new button) is enabled. Is this feasible ?
>>
> This is similar to what is done in -
> web/regression/javascript/sqleditor/execute_query_spec.js for btn-flash.
>
The problem is not with checking the button. How do I mimic the user
editing the grid? I cannot create a grid with all its options in the test.
--
*Yosry Muhammad Yosry*
Computer Engineering student,
The Faculty of Engineering,
Cairo University (2021).
Class representative of CMP 2021.
https://www.linkedin.com/in/yosrym93/
From | Date | Subject | |
---|---|---|---|
Next Message | Yosry Muhammad | 2019-07-01 19:19:36 | [GSoC] Finalized First Patch |
Previous Message | Dave Page | 2019-07-01 14:25:14 | Re: RE-SQL tests for Roles & Resource Group nodes |