Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite for pictures and no-pictures modes #8

Open
pehrlich opened this issue Feb 13, 2013 · 0 comments
Open

Test suite for pictures and no-pictures modes #8

pehrlich opened this issue Feb 13, 2013 · 0 comments

Comments

@pehrlich
Copy link
Owner

Seems like there would be a good way of going about this by:

  • making an html testing page (sort of like testbed.hmtl)
  • Adding on appropriate markup, such as this [role=log] element:
<div class="Z8Dgfe" role="log">
    <div id=":4t" class="kf">
        <div class="kj"><img id=":0_3" name=":0"
                             src="/mail/c/u/0/photos/public/AIbEiAIAAABDCI343MDK09r2ASILdmNhcmRfcGhvdG8qKDI2NGMyMzkyMGJmNTdjZjYyZWIzYzUxNjAzMTk0MTVjOGU0YmZkNWMwAZf5StKzmrfhbOILtHRG54clAMhn?sz=32"
                             class="kh aeb" jid="[email protected]"></div>
        <div chat-dir="t" class="aec">
            <div class="kk">
                <div class="kn" title="[email protected]">Peter</div>
            </div>
            <div id=":5n" dir="ltr" class="kl">wefqwef</div>
            <div id=":5o" dir="ltr" class="kl">qwefqwe</div>
        </div>
        <div chat-dir="" class="kq" role="chatMessage">
            <div class="aef" title="Sent at 12:18 PM on Wednesday">12:18 PM</div>
        </div>
        <div class="ke"></div>
        <div class="kj"><img id=":0_4" name=":0"
                             src="/mail/c/u/0/photos/public/AIbEiAIAAABDCI343MDK09r2ASILdmNhcmRfcGhvdG8qKDI2NGMyMzkyMGJmNTdjZjYyZWIzYzUxNjAzMTk0MTVjOGU0YmZkNWMwAZf5StKzmrfhbOILtHRG54clAMhn?sz=32"
                             class="kh aeb" jid="[email protected]"></div>
        <div chat-dir="t" class="aec">
            <div class="kk">
                <div class="kn" title="[email protected]">Peter</div>
            </div>
            <div id=":5p" dir="ltr" class="kl">qwefqwe</div>
        </div>
        <div chat-dir="" class="kq" role="chatMessage">
            <div class="aef" title="Sent at 12:22 PM on Wednesday">12:22 PM</div>
        </div>
        <div class="ke"></div>
        <div class="kj"><img id=":0_5" name=":0"
                             src="/mail/c/u/0/photos/public/AIbEiAIAAABDCJ-fmqmEqZ-NHiILdmNhcmRfcGhvdG8qKDJiZGM4YTE1OWQwOWViOTRkYWJiNjY4YTQ2NmRmNDUzMGJkODVhZTUwAWCzawZTzJuWAODP7zcEXCeOVDel?sz=32"
                             class="kh aeb" jid="[email protected]"></div>
        <div chat-dir="f" class="aec">
            <div class="kk">
                <div class="kn" title="[email protected]">me</div>
            </div>
            <div id=":4l" dir="ltr" class="kl">wefqwe</div>
            <div id=":4i" dir="ltr" class="kl">qwefqwe</div>
        </div>
        <div chat-dir="" class="kq" role="chatMessage" aria-live="polite">
            <div class="aef" title="Sent at 12:30 PM on Wednesday">12:30 PM</div>
        </div>
    </div>
    <div id=":4u" class="kd" aria-live="polite">&nbsp;</div>
</div>
  • writing tests for various easy things, such as HUD being added to the right places, and click events being responded to
  • finally, add Travis-CI to the repo, for automated testing
@pehrlich pehrlich mentioned this issue Feb 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant