aboutsummaryrefslogtreecommitdiff
path: root/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbDomTest.kt
blob: ce748907796f7b2e080ad11b810cb802525a4ed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.pitchedapps.frost.facebook

import com.pitchedapps.frost.internal.authDependent
import com.pitchedapps.frost.internal.testJsoup
import org.junit.BeforeClass
import org.junit.Test
import kotlin.test.assertNotNull

class FbDomTest {

    companion object {
        @BeforeClass
        @JvmStatic
        fun before() {
            authDependent()
        }
    }

    @Test
    fun checkHeaders() {
        val doc = testJsoup(FB_URL_BASE)
        assertNotNull(doc.getElementById("header"))
        assertNotNull(doc.getElementById("mJewelNav"))
    }

}