Closed Bug 905916 Opened 11 years ago Closed 11 years ago

Create first browser integration test that loads a file from static server.

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlal, Assigned: daleharvey)

References

Details

(Whiteboard: [sprintready])

Attachments

(1 file, 1 obsolete file)

      No description provided.
Pointer to Github pull-request
Attachment #791125 - Flags: review?(dale)
Attachment #791125 - Flags: review?(bfrancis)
Attachment #791125 - Flags: feedback?(gaye)
Comment on attachment 791125 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/11569

There is a tiny nit on this, but very awesome and a huge thanks for getting to this before I did, a few things got in the way between the test runner landing and writing this.

I wont land this and give ben a chance to look at it, as I think we should all be familiar with the integration tests
Attachment #791125 - Flags: review?(dale) → review+
@davehunt - Its very much a hello world test and is definitely duplicating the functionality, the problem is the gaia ui tests have very little buy in from the gaia devs, whether thats down to problems understanding it, python vs javascript whatever, I have been trying (badly) to push for us using what runners have existed so far but it hasnt happened

These tests are integrated into the gaia source, soon to be integrated into the workflow as a whole and look to be getting adoption in gaia, this test is really just James being super helpful and giving us devs who dont have experience with the tests so far a base for us to write tests from.

Going forward we will be writing tests for all new features and writing new tests for existing regressions and hopefully taking a whole bunch of strain off QA (both in terms of manually testsing and writing their own automated tests)
I'm going to take a proper look at this and review, but marking sprintready to get it out of our triage query :)
Whiteboard: [sprintready]
(In reply to Dale Harvey (:daleharvey) from comment #4)
> @davehunt - Its very much a hello world test and is definitely duplicating
> the functionality, the problem is the gaia ui tests have very little buy in
> from the gaia devs, whether thats down to problems understanding it, python
> vs javascript whatever, I have been trying (badly) to push for us using what
> runners have existed so far but it hasnt happened
> 
> These tests are integrated into the gaia source, soon to be integrated into
> the workflow as a whole and look to be getting adoption in gaia, this test
> is really just James being super helpful and giving us devs who dont have
> experience with the tests so far a base for us to write tests from.
> 
> Going forward we will be writing tests for all new features and writing new
> tests for existing regressions and hopefully taking a whole bunch of strain
> off QA (both in terms of manually testsing and writing their own automated
> tests)

Yeah, I'm aware of the Python vs JavaScript concern, and having buy-in from the Gaia devs is critical so for that I'm +1 to whichever has that. That said, I'm not keen on having duplicated tests, so we should decide how to handle the situation where a new JS test duplicates a Python test. Should we delete the Python test? If so, we should be sure that the JS tests cover every aspect of the Python test before deleting. Perhaps there's a more appropriate place to discuss this?
I'm having problems getting integration tests to run under Ubuntu so I'm not sure if you want to wait on my review before landing this.

James is helping me fix Node.
A Pivotal Tracker story has been created for this Bug: http://www.pivotaltracker.com/story/show/55511034
I have reproduced the 'incorrect iframe', I am trying to get time to debug it but its a plain test bug so it shouldnt be that hard, this is a "huge" priority for the browser (we are still seeing regressions that tests could have prevented), so if you could also make sure to debug this as well ben, james has done most of our work for us and this shouldnt have been sitting here for 10 days
The initial setup ran before the browser was ready, added some instrumention  to the browser to ensure it has loaded
Attachment #791125 - Attachment is obsolete: true
Attachment #791125 - Flags: review?(bfrancis)
Attachment #791125 - Flags: feedback?(gaye)
Attachment #796996 - Flags: review?(jlal)
Attachment #796996 - Flags: review?(dale)
Attachment #796996 - Flags: review?(bfrancis)
Comment on attachment 796996 [details] [review]
Add initial integration test and static server plumbing

Carrying my r+ as this is mostly James' work which I already reviewed, Ben this is passing on ubuntu for me now (ping me if you have problems, want this merged asap)
Attachment #796996 - Flags: review?(dale) → review+
https://github.com/mozilla-b2g/gaia/commit/a768bc91b98792f6ea8037a98fee3fbbea0b9f65
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #796996 - Flags: review?(jlal) → review+
Comment on attachment 796996 [details] [review]
Add initial integration test and static server plumbing

Passes for me too! \o/

Thanks for fixing this Dale, now let the testing commence!
Attachment #796996 - Flags: review?(bfrancis) → review+
Attachment mime type: text/plain → text/x-github-pull-request
Assignee: nobody → dale
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: