public inbox for [email protected]  
help / color / mirror / Atom feed
From: Yosry Muhammad <[email protected]>
To: Aditya Toshniwal <[email protected]>
To: [email protected]
To: Dave Page <[email protected]>
Subject: Re: [GSoC] Help with Jasmine Tests
Date: Mon, 1 Jul 2019 16:36:43 +0200
Message-ID: <CAFSMqn8t+JyWKKS7fr+RTMTP78i=6kShGNgM0AnvO6v=hvcqDg@mail.gmail.com> (raw)
In-Reply-To: <CAM9w-_=eRXfTEik3zrYvGuAAfZXrWE_c98CfeMF0RgjpV1TL5Q@mail.gmail.com>
References: <CAFSMqn8BKZ6ThW1MhdgiR5RYLvngxKZGWWeSzAzbYPCqgMEGTw@mail.gmail.com>
	<CAM9w-_=eRXfTEik3zrYvGuAAfZXrWE_c98CfeMF0RgjpV1TL5Q@mail.gmail.com>

On Mon, Jul 1, 2019 at 8:57 AM Aditya Toshniwal <
[email protected]> 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/


view thread (4+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: [GSoC] Help with Jasmine Tests
  In-Reply-To: <CAFSMqn8t+JyWKKS7fr+RTMTP78i=6kShGNgM0AnvO6v=hvcqDg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox